summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init/km-func.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init/km-func.el b/init/km-func.el
index e41bfcb..e32db22 100644
--- a/init/km-func.el
+++ b/init/km-func.el
@@ -178,3 +178,12 @@ KILLARG."
(other-window 1))
(global-set-key (kbd "C-c s") 'km/swap-windows)
+
+(defvar km/terminal "urxvt")
+
+(defun km/open-external-terminal ()
+ (interactive)
+ (let ((bufname (get-buffer-create "*External terminal*")))
+ (with-current-buffer bufname
+ (insert "Starting terminal"))
+ (start-process "ext-term" bufname km/terminal)))