summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorKyle Meyer <kyle@kyleam.com>2013-12-03 22:23:21 -0500
committerKyle Meyer <kyle@kyleam.com>2013-12-03 22:23:21 -0500
commit30a050773f44bdcb2bf75474441068b85914fc7c (patch)
tree2cd2f1c66584ede63867a274d2e52e9aa758e325 /init
parentc48e7fda4c7a13af4b29d73f365f0bb7cd2c056e (diff)
downloademacs.d-30a050773f44bdcb2bf75474441068b85914fc7c.tar.gz
Add external keymap
Diffstat (limited to 'init')
-rw-r--r--init/20-keymaps.el3
-rw-r--r--init/km-func.el2
-rw-r--r--init/km-keybindings.el2
3 files changed, 7 insertions, 0 deletions
diff --git a/init/20-keymaps.el b/init/20-keymaps.el
index f694d16..6a77a3d 100644
--- a/init/20-keymaps.el
+++ b/init/20-keymaps.el
@@ -14,3 +14,6 @@
;; put under insert prefix
(define-prefix-command 'multiple-cursors-map)
(define-key insert-map "m" 'multiple-cursors-map)
+
+(define-prefix-command 'external-map)
+(global-set-key (kbd "C-c x") 'external-map)
diff --git a/init/km-func.el b/init/km-func.el
index e12fdc7..7ac814b 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -187,3 +187,5 @@ KILLARG."
(with-current-buffer bufname
(insert "Starting terminal"))
(start-process "ext-term" bufname km/terminal)))
+
+(define-key external-map "t" 'km/open-external-terminal)
diff --git a/init/km-keybindings.el b/init/km-keybindings.el
index 39037e0..4366a9c 100644
--- a/init/km-keybindings.el
+++ b/init/km-keybindings.el
@@ -24,3 +24,5 @@
(define-key multiple-cursors-map "a" 'mc/mark-all-like-this)
(global-set-key (kbd "C-;") 'er/expand-region)
+
+(define-key external-map "s" 'shell-command)