diff --git a/emacs/.emacs.d/init.el b/emacs/.emacs.d/init.el index 6ed6e47..6a4b6b8 100644 --- a/emacs/.emacs.d/init.el +++ b/emacs/.emacs.d/init.el @@ -68,6 +68,11 @@ (height . 40) )) +;; Select correct terminal application +(setq terminal-emulator + (find-if #'executable-find + (list "termite" "urxvt"))) + ;; Use cperl-mode instead of perl-mode (defalias 'perl-mode 'cperl-mode) @@ -467,7 +472,10 @@ ;; Quickly open external terminal (use-package terminal-here :ensure t - :bind ("C-x t" . terminal-here-launch)) + :bind ("C-x t" . terminal-here-launch) + :config + (setq terminal-here-terminal-command + (list terminal-emulator))) ;; swiper (use-package swiper