summary refs log tree commit diff stats
path: root/emacs
diff options
context:
space:
mode:
authorAlan Pearce2013-05-18 12:14:13 +0100
committerAlan Pearce2013-05-18 12:14:13 +0100
commit0c6a787848903894cc6ba692c2e93fad83eb4851 (patch)
tree2ea907440e40983dc79e318d1a9106b18c17739b /emacs
parentf27172b3edc6f00ab319d82dcbb2bf99014398e2 (diff)
downloaddotfiles-0c6a787848903894cc6ba692c2e93fad83eb4851.tar.lz
dotfiles-0c6a787848903894cc6ba692c2e93fad83eb4851.tar.zst
dotfiles-0c6a787848903894cc6ba692c2e93fad83eb4851.zip
Emacs: bind q in mu4e's main window to bury the buffer rather than quitting
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index df6f18a..790c07f 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -298,7 +298,8 @@ Values: `desktop', `server', `laptop'")
                   mu4e-update-interval 300
                   mu4e-sent-folder "/alanpearce/Sent"
                   mu4e-drafts-folder "/alanpearce/Drafts"
-                  mu4e-refile-folder "/alanpearce/Archive")))
+                  mu4e-refile-folder "/alanpearce/Archive")
+            (define-key mu4e-main-mode-map "q" #'bury-buffer)))
 
 ;;;; Completion