Bind magit-gitignore-{globally,locally} to {i,I} respectively

instead of the popup prompt
This commit is contained in:
Adam Goldsmith 2018-12-30 12:25:26 +01:00
parent 8f555ffd33
commit ce69a63f40

View File

@ -415,7 +415,9 @@
:bind ("C-=" . er/expand-region)) :bind ("C-=" . er/expand-region))
(use-package magit :ensure (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 (use-package popwin :ensure
:disabled :disabled