From 30a050773f44bdcb2bf75474441068b85914fc7c Mon Sep 17 00:00:00 2001 From: Kyle Meyer Date: Tue, 3 Dec 2013 22:23:21 -0500 Subject: Add external keymap --- init/20-keymaps.el | 3 +++ init/km-func.el | 2 ++ init/km-keybindings.el | 2 ++ 3 files changed, 7 insertions(+) (limited to 'init') 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) -- cgit v1.2.3