diff options
Diffstat (limited to 'init')
-rw-r--r-- | init/20-keymaps.el | 3 | ||||
-rw-r--r-- | init/km-func.el | 2 | ||||
-rw-r--r-- | init/km-keybindings.el | 2 |
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) |