Update emacs.org
This commit is contained in:
parent
521c66bfd1
commit
1babcfb50c
1 changed files with 6 additions and 6 deletions
|
@ -621,7 +621,9 @@ make sure to setup authinfo
|
|||
***** Nix
|
||||
#+begin_src emacs-lisp
|
||||
(use-package nix-mode
|
||||
:hook (nix-mode . format-all-mode)
|
||||
:hook ((nix-mode . lsp)
|
||||
(nix-mode . format-all-mode)
|
||||
(nix-mode . (lambda () (setq-local format-all-formatters '(("Nix" alejandra))))))
|
||||
:mode "\\.nix\\'")
|
||||
#+end_src
|
||||
*** Commenter
|
||||
|
@ -647,9 +649,7 @@ make sure to setup authinfo
|
|||
#+end_src
|
||||
*** Formatting
|
||||
#+begin_src emacs-lisp
|
||||
(use-package format-all
|
||||
:custom
|
||||
((setq format-all-formatters (("Nix" alejandra)))))
|
||||
(use-package format-all)
|
||||
#+end_src
|
||||
** Dired (quick file management in emacs)
|
||||
Dired is a built-in file manager for Emacs that does some pretty amazing things! Here are some key bindings you should try out:
|
||||
|
|
Loading…
Reference in a new issue