summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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\*")