Update emacs.org
This commit is contained in:
parent
521c66bfd1
commit
1babcfb50c
|
@ -620,9 +620,11 @@ make sure to setup authinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Nix
|
***** Nix
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package nix-mode
|
(use-package nix-mode
|
||||||
:hook (nix-mode . format-all-mode)
|
:hook ((nix-mode . lsp)
|
||||||
:mode "\\.nix\\'")
|
(nix-mode . format-all-mode)
|
||||||
|
(nix-mode . (lambda () (setq-local format-all-formatters '(("Nix" alejandra))))))
|
||||||
|
:mode "\\.nix\\'")
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Commenter
|
*** Commenter
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -647,9 +649,7 @@ make sure to setup authinfo
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Formatting
|
*** Formatting
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package format-all
|
(use-package format-all)
|
||||||
:custom
|
|
||||||
((setq format-all-formatters (("Nix" alejandra)))))
|
|
||||||
#+end_src
|
#+end_src
|
||||||
** Dired (quick file management in emacs)
|
** 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:
|
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