aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Schneider <qsx@qsx.re>2019-06-27 14:51:06 +0200
committerThomas Schneider <qsx@qsx.re>2019-06-27 14:51:06 +0200
commit8c6ac7e9fba4a56bb285e72082efa290c1799cf6 (patch)
tree6b82c793cc314543161924fdb22faedc0a26e944
parent6baad656d266242adaa28466c037c46baf1feae8 (diff)
Emacs: Add more magit key bindings
-rw-r--r--dot.emacs.d/init.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/dot.emacs.d/init.el b/dot.emacs.d/init.el
index 1bdd80b..3fb9890 100644
--- a/dot.emacs.d/init.el
+++ b/dot.emacs.d/init.el
@@ -115,8 +115,11 @@
:bind-keymap ("C-c H" . hg-global-map))
(use-package magit
- :bind ("C-x g" . #'magit-status)
- :config (setq global-magit-file-mode t))
+ :bind (("C-x g" . #'magit-status)
+ ("C-c m m" . #'magit-status)
+ ("C-c m f" . #'magit-file-popup)
+ ("C-c m d" . #'magit-diff-buffer-file))
+ :config (global-magit-file-mode))
(use-package ace-window
:bind ("M-o" . ace-window)