feat(functions): Add M-x emacs-config helper
This commit is contained in:
parent
b0faa53657
commit
18462a2f28
1 changed files with 5 additions and 0 deletions
|
@ -110,6 +110,11 @@ Including indent-buffer, which should not be called automatically on save."
|
|||
(interactive)
|
||||
(find-file "/etc/nixos/configuration.nix"))
|
||||
|
||||
;; Open local emacs configuration
|
||||
(defun emacs-config ()
|
||||
(interactive)
|
||||
(dired "~/.emacs.d/"))
|
||||
|
||||
;; Get the nix store path for a given derivation.
|
||||
;; If the derivation has not been built before, this will trigger a build.
|
||||
(defun nix-store-path (derivation)
|
||||
|
|
Loading…
Reference in a new issue