summaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorRavi R Kiran <aine.marina@gmail.com>2017-11-21 04:06:10 (GMT)
committerRavi R Kiran <aine.marina@gmail.com>2017-11-21 04:06:10 (GMT)
commit57e58578f5d3af42563caf21e6ed54db6b5be682 (patch)
treebc6d9c9d657c33201acac9c43522f6eb14d6456e /lisp
parent969c2ed2326b29c95c18e6871abb0c59e6542a92 (diff)
downloaddotemacs-57e58578f5d3af42563caf21e6ed54db6b5be682.zip
dotemacs-57e58578f5d3af42563caf21e6ed54db6b5be682.tar.gz
dotemacs-57e58578f5d3af42563caf21e6ed54db6b5be682.tar.bz2
Magit file mode is better than our homegrown bindings
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ravi-init-vc.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/ravi-init-vc.el b/lisp/ravi-init-vc.el
index 6c1d3a0..a87cdb9 100644
--- a/lisp/ravi-init-vc.el
+++ b/lisp/ravi-init-vc.el
@@ -26,9 +26,7 @@
;; Git
(use-package magit
- :bind (("<M-f3>" . magit-status)
- ("C-x v B" . magit-blame)
- ("C-x v F" . magit-log-buffer-file))
+ :bind (("<M-f3>" . magit-status))
:config
(progn
(setq-default
@@ -53,6 +51,9 @@
" " (magit-toplevel) " " ravi/sync-top-level-host ":" (magit-toplevel)))))
(add-hook 'magit-post-refresh-hook 'ravi/sync-top-level)
+ (global-magit-file-mode 1)
+ (unbind-key "C-x g" magit-file-mode-map)
+
(use-package magit-svn
:config (add-hook 'magit-mode-hook 'magit-svn-mode)
:ensure t)