emacs: let emacs automagically find the right terminal emulator.

For now I added termite and urxvt.
This commit is contained in:
madmaurice 2018-09-18 13:09:26 +02:00
parent 6323f69279
commit e854230d50

View file

@ -68,6 +68,11 @@
(height . 40) (height . 40)
)) ))
;; Select correct terminal application
(setq terminal-emulator
(find-if #'executable-find
(list "termite" "urxvt")))
;; Use cperl-mode instead of perl-mode ;; Use cperl-mode instead of perl-mode
(defalias 'perl-mode 'cperl-mode) (defalias 'perl-mode 'cperl-mode)
@ -467,7 +472,10 @@
;; Quickly open external terminal ;; Quickly open external terminal
(use-package terminal-here (use-package terminal-here
:ensure t :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 ;; swiper
(use-package swiper (use-package swiper