about summary refs log tree commit diff
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-09-07T22·22+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-09-07T22·22+0100
commita599e7a1c78f3d0b1bb82ac6bb0a67f4f8ad393f (patch)
treeb19a53859bf8e63765798fb5fbaf026a2728c584
parent1ece8c083b43142a375baa7d137fcba8bde717b6 (diff)
Define KBDs for quickly visiting BRIEFCASE magit-status
I'd rather be able to jump straight here instead of visiting a file or directory
first.
-rw-r--r--emacs/.emacs.d/wpc/keybindings.el6
1 files changed, 5 insertions, 1 deletions
diff --git a/emacs/.emacs.d/wpc/keybindings.el b/emacs/.emacs.d/wpc/keybindings.el
index a9f902ab9819..348b67c2e904 100644
--- a/emacs/.emacs.d/wpc/keybindings.el
+++ b/emacs/.emacs.d/wpc/keybindings.el
@@ -36,6 +36,7 @@
 (require 'device)
 (require 'fonts)
 (require 'bookmark)
+(require 'constants)
 
 ;; Note: The following lines must be sorted this way.
 (setq evil-want-integration t)
@@ -183,7 +184,10 @@
  "n" #'flycheck-next-error
  "N" #'smerge-next
  "W" #'balance-windows
- "gs" #'magit-status
+ "gss" #'magit-status
+ "gsb" (lambda ()
+         (interactive)
+         (magit-status constants-briefcase))
  "E" #'refine
  "es" #'functions-create-snippet
  "l" #'linum-mode