Next: Prettify Variables, Previous: Popup Interface, Up: Top [Contents][Index]
Emacs-Guix also comes with “guix-prettify.el”. It provides a minor mode for abbreviating store file names by replacing hash sequences of symbols with “…”:
/gnu/store/72f54nfp6g1hz873w8z3gfcah0h4nl9p-foo-0.1 ⇒ /gnu/store/…-foo-0.1
Enable/disable prettifying for the current buffer.
Enable/disable prettifying globally.
If you wish to enable global-guix-prettify-mode
automatically
on Emacs start, you may do it by adding the following line to your
Emacs init file:
(add-hook 'after-init-hook 'global-guix-prettify-mode)
If you want to enable it only for specific major modes, add it to the mode hooks (see Hooks in The GNU Emacs Manual), for example:
(add-hook 'shell-mode-hook 'guix-prettify-mode) (add-hook 'dired-mode-hook 'guix-prettify-mode)