emacs: let emacs automagically find the right terminal emulator.
For now I added termite and urxvt.
This commit is contained in:
parent
6323f69279
commit
e854230d50
1 changed files with 9 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue