chiark / gitweb /
dot/emacs: Add some more Magit bindings. staging/master
authorMark Wooding <mdw@distorted.org.uk>
Fri, 23 Mar 2018 10:29:21 +0000 (10:29 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Fri, 23 Mar 2018 10:31:46 +0000 (10:31 +0000)
`M-x magit-find-file' is awesome.

dot/emacs

index 86489e839583326c692fbdbcf47cdaca36cd1cc4..2170f2f46a9af247af954a25e0ee3397df5a29aa 100644 (file)
--- a/dot/emacs
+++ b/dot/emacs
   (global-set-key [?\C-c ?m ?m] 'magit-status)
   (global-set-key [?\C-c ?m ?b] 'magit-blame)
   (global-set-key [?\C-c ?m ?d] 'magit-dispatch-popup)
+  (global-set-key [?\C-c ?m ?f] 'magit-find-file)
+  (global-set-key [?\C-c ?m ?4 ?f] 'magit-find-file-other-window)
   (global-set-key [?\C-c ?m ?r] 'magit-list-repositories)
   (global-set-key [?\C-c ?m ?w] 'magit-wip-log)
   (global-set-key [?\C-c ?p ?p] 'mdw-mpc-play-or-pause)