From 94919860e49fd71c2120c63c318c72d3127ca73d Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 6 Oct 2020 10:33:03 +0000 Subject: 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. --- modules/workstation/emacs/init.el | 1 + 1 file changed, 1 insertion(+) 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 -- cgit 1.4.1