summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKyle Meyer <meyerkya@gmail.com>2013-07-19 18:46:44 -0400
committerKyle Meyer <meyerkya@gmail.com>2013-07-19 18:46:44 -0400
commitbefddeb261f6b62dcf27a4e758c9d091002039d7 (patch)
treeb5a63a9c212039acd413652582c548c3599c1efb
parentfcdc71f0e6f2acbd8cb3e1518d78ed7adaf69b2b (diff)
downloademacs.d-befddeb261f6b62dcf27a4e758c9d091002039d7.tar.gz
add prefix to "insert" keybindings
-rw-r--r--init/km-func.el4
-rw-r--r--init/km-keybindings.el2
2 files changed, 3 insertions, 3 deletions
diff --git a/init/km-func.el b/init/km-func.el
index 66f8187..7228847 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -33,13 +33,13 @@
(if (= (length lang) 0)
(setq lang "python"))
(insert "#!/usr/bin/env " lang "\n"))
-(global-set-key (kbd "C-c s") 'km/shebang)
+(global-set-key (kbd "C-c i s") 'km/shebang)
(defun km/insert-date ()
(interactive)
(insert (format-time-string "%Y-%m-%d")))
-(global-set-key (kbd "C-c d") 'km/insert-date)
+(global-set-key (kbd "C-c i d") 'km/insert-date)
(defun km/start-ess ()
(interactive)
diff --git a/init/km-keybindings.el b/init/km-keybindings.el
index c4f2efa..4ed2001 100644
--- a/init/km-keybindings.el
+++ b/init/km-keybindings.el
@@ -1,7 +1,7 @@
;; keybindings that don't go with other topics
(global-set-key (kbd "C-x \\") 'align-regexp)
-(global-set-key (kbd "C-c i") 'indent-relative)
+(global-set-key (kbd "C-c i i") 'indent-relative)
(global-set-key (kbd "C-x K") 'kill-buffer-and-window)