diff options
author | Alyssa Ross <hi@alyssa.is> | 2020-10-06 10:33:03 +0000 |
---|---|---|
committer | Alyssa Ross <hi@alyssa.is> | 2020-10-06 10:33:03 +0000 |
commit | 94919860e49fd71c2120c63c318c72d3127ca73d (patch) | |
tree | fc0cc46d7472e6f6c88ec7ae615284509fd66238 | |
parent | 6a1d0737da8773bf241c1e07b12995c21fd525f1 (diff) | |
download | nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar.gz nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar.bz2 nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar.lz nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar.xz nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.tar.zst nixlib-94919860e49fd71c2120c63c318c72d3127ca73d.zip |
modules/emacs: update direnv with C-c d
Using Lorri means the first direnv load usually won't actually load the right environment, so it's important to be able to update it easily once Lorri has asynchronously updates the environment.
-rw-r--r-- | modules/workstation/emacs/init.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/workstation/emacs/init.el b/modules/workstation/emacs/init.el index dc7576807860..e75aaa6aebe4 100644 --- a/modules/workstation/emacs/init.el +++ b/modules/workstation/emacs/init.el @@ -27,6 +27,7 @@ ;;; Direnv ;;; (direnv-mode) +(global-set-key (kbd "C-c d") 'direnv-update-environment) ;;; Ibuffer ;;; ;; Open ibuffer in other window, to match behaviour of the default |