all repos — archive/dotfiles @ 0c6a787848903894cc6ba692c2e93fad83eb4851

Superseded by nixfiles

Emacs: bind q in mu4e's main window to bury the buffer rather than quitting
Alan Pearce alan@alanpearce.co.uk
Sat, 18 May 2013 12:14:13 +0100
commit

0c6a787848903894cc6ba692c2e93fad83eb4851

parent

f27172b3edc6f00ab319d82dcbb2bf99014398e2

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M emacs/init.elemacs/init.el
@@ -298,7 +298,8 @@ (setq mu4e-get-mail-command "true"                   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