summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-03-14 18:14:37 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-03-14 18:14:37 -0400
commit1f7de0b6bfe14e70c9c0932d4cc9ee5abf416bbe (patch)
tree72682030bff23c248b12427d69a9077540dc43c5
parent776d28e2335726e6a493f1f14113e117ab815044 (diff)
downloademacs.d-1f7de0b6bfe14e70c9c0932d4cc9ee5abf416bbe.tar.gz
add magit customizations
- keychord for magit - rebind indent-relative to C-c i - make magit section for ibuffer
-rw-r--r--init/km-editor.el2
-rw-r--r--init/km-evil.el2
-rw-r--r--init/km-ibuffer.el1
3 files changed, 4 insertions, 1 deletions
diff --git a/init/km-editor.el b/init/km-editor.el
index 730a4c6..596adf0 100644
--- a/init/km-editor.el
+++ b/init/km-editor.el
@@ -28,3 +28,5 @@
(blink-cursor-mode -1)
(put 'narrow-to-region 'disabled nil)
+
+(global-set-key (kbd "C-c i") 'indent-relative)
diff --git a/init/km-evil.el b/init/km-evil.el
index 8db295a..93e1e98 100644
--- a/init/km-evil.el
+++ b/init/km-evil.el
@@ -52,7 +52,7 @@
;; instead of alt-x
(key-chord-define-global ",x" 'execute-extended-command)
(key-chord-define-global ",f" 'find-file)
-(key-chord-define-global ",g" 'indent-relative)
+(key-chord-define-global ",g" 'magit-status)
(key-chord-define-global ",b" 'ido-switch-buffer)
;; cannot map this to insert mode because it jams up the first letter
;; switch from jf because often pressing j to go up/down, so probably
diff --git a/init/km-ibuffer.el b/init/km-ibuffer.el
index 3fa6a03..24e8168 100644
--- a/init/km-ibuffer.el
+++ b/init/km-ibuffer.el
@@ -31,6 +31,7 @@
("dirs" (or (mode . dired-mode)
(name . "^\\*tramp")))
("terminal" (name . "^\\*ansi-term\\*$"))
+ ("magit" (or (name . "^\\*magit")))
("help" (or (name . "\*Help\*")
(name . "\*Apropos\*")
(name . "\*info\*")