From ce69a63f40c5583b440a13a6b005d31628bfa72a Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 30 Dec 2018 12:25:26 +0100 Subject: [PATCH] Bind magit-gitignore-{globally,locally} to {i,I} respectively instead of the popup prompt --- .emacs.d/init.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 68cdc12..32b9552 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -415,7 +415,9 @@ :bind ("C-=" . er/expand-region)) (use-package magit :ensure - :bind ("C-x g" . magit-status)) + :bind (("C-x g" . magit-status) + (:map magit-status-mode-map (("i" . magit-gitignore-globally) + ("I" . magit-gitignore-locally))))) (use-package popwin :ensure :disabled