summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/init-external.el14
1 files changed, 14 insertions, 0 deletions
diff --git a/lisp/init-external.el b/lisp/init-external.el
index 06ce5d5..b9dc5f0 100644
--- a/lisp/init-external.el
+++ b/lisp/init-external.el
@@ -20,8 +20,22 @@ other window when an asynchronous command is run."
(define-prefix-command 'external-map)
(global-set-key (kbd "C-c x") 'external-map)
+(defun km/zsh-ansi-term ()
+ (interactive)
+ (ansi-term "/bin/zsh"))
+
+(define-key external-map "a" 'km/zsh-ansi-term)
+(define-key external-map "t" 'km/open-external-terminal)
+(define-key external-map "r" 'shell-command-on-region)
+(define-key external-map "s" 'shell-command)
+(define-key external-map "S" 'shell)
+
+(define-key external-map "a" 'km/zsh-ansi-term)
(define-key external-map "t" 'km/open-external-terminal)
+(define-key external-map "r" 'shell-command-on-region)
(define-key external-map "s" 'shell-command)
+(define-key external-map "S" 'shell)
+
(define-key external-map "c" 'compile)
(define-key external-map "g" 'recompile)