diff options
author | Alan Pearce | 2023-04-13 10:18:16 +0200 |
---|---|---|
committer | Alan Pearce | 2023-04-14 18:05:49 +0200 |
commit | 22398eb643502ef037558cc6765aa49f680b548e (patch) | |
tree | 4d48a0843cb0889e48989d96c2646c7c6d52c006 /user/emacs | |
parent | 27ef82a1e760b9b8949e6a2ef01ce8062803bdf7 (diff) | |
download | nixfiles-22398eb643502ef037558cc6765aa49f680b548e.tar.lz nixfiles-22398eb643502ef037558cc6765aa49f680b548e.tar.zst nixfiles-22398eb643502ef037558cc6765aa49f680b548e.zip |
Enable direnv support in emacs and neovim
Diffstat (limited to 'user/emacs')
-rw-r--r-- | user/emacs/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el index b73bf0d3..ea2337e0 100644 --- a/user/emacs/init.el +++ b/user/emacs/init.el @@ -938,6 +938,12 @@ _p_rev _u_pper _=_: upper/lower _r_esolve "s s" #'counsel-projectile-rg "s r" #'counsel-projectile-rg)) +(use-package envrc + :defer 2 + :after projectile + :config (progn + (envrc-global-mode))) + (use-package magit :defer 5 :commands (magit-status magit-dispatch) @@ -1174,6 +1180,7 @@ _p_rev _u_pper _=_: upper/lower _r_esolve "br" #'revert-buffer "bk" #'kill-buffer "dd" #'dired + "e" '(:keymap envrc-command-map :package envrc) "fs" #'save-buffer "ff" #'find-file "fw" #'write-file |