Moved terminal section into its own file.
This commit is contained in:
parent
f95d0e7002
commit
f47af5a735
2 changed files with 37 additions and 35 deletions
36
config.org
36
config.org
|
|
@ -453,41 +453,7 @@ of a project, and convey the results to various completion facilities.
|
||||||
|
|
||||||
#+INCLUDE: "config/files.org" :minlevel 1
|
#+INCLUDE: "config/files.org" :minlevel 1
|
||||||
|
|
||||||
* Terminal
|
#+INCLUDE: "config/terminal.org" :minlevel 1
|
||||||
|
|
||||||
I've been using [[https://codeberg.org/akib/emacs-eat][eat]] (Emulate A Terminal) in place of vterm lately as it has
|
|
||||||
better emacs integration without too big of a performance hit. It doesn't
|
|
||||||
handle fancy terminal applications quite as well, but so far has performed
|
|
||||||
well.
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(use-package eat
|
|
||||||
:ensure (:type git
|
|
||||||
:host codeberg
|
|
||||||
:repo "akib/emacs-eat"
|
|
||||||
:files ("*.el" ("term" "term/*.el") "*.texi"
|
|
||||||
"*.ti" ("terminfo/e" "terminfo/e/*")
|
|
||||||
("terminfo/65" "terminfo/65/*")
|
|
||||||
("integration" "integration/*")
|
|
||||||
(:exclude ".dir-locals.el" "*-tests.el")))
|
|
||||||
:hook
|
|
||||||
(eat-mode-hook . eat-char-mode)
|
|
||||||
(eshell-load-hook . eat-eshell-mode)
|
|
||||||
(eshell-load-hook . eat-eshell-visual-command-mode)
|
|
||||||
:custom
|
|
||||||
(eat-kill-buffer-on-exit t)
|
|
||||||
:config
|
|
||||||
(setopt eat-shell-prompt-annotation-delay 0)
|
|
||||||
(setopt eat-very-visible-cursor-type '(t nil nil))
|
|
||||||
(setopt eat-default-cursor-type '(t nil nil))
|
|
||||||
(setq process-adaptive-read-buffering nil)
|
|
||||||
(setq read-process-output-max (* 4 1024 1024))
|
|
||||||
;; Compile terminfo if needed
|
|
||||||
(eat-compile-terminfo))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
Many of these settings are there to reduce flickering. They may not be needed
|
|
||||||
long term.
|
|
||||||
|
|
||||||
* Look and Feel
|
* Look and Feel
|
||||||
|
|
||||||
|
|
|
||||||
36
config/terminal.org
Normal file
36
config/terminal.org
Normal file
|
|
@ -0,0 +1,36 @@
|
||||||
|
* Terminal
|
||||||
|
|
||||||
|
I've been using [[https://codeberg.org/akib/emacs-eat][eat]] (Emulate A Terminal) in place of vterm lately as it has
|
||||||
|
better emacs integration without too big of a performance hit. It doesn't
|
||||||
|
handle fancy terminal applications quite as well, but so far has performed
|
||||||
|
well.
|
||||||
|
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package eat
|
||||||
|
:ensure (:type git
|
||||||
|
:host codeberg
|
||||||
|
:repo "akib/emacs-eat"
|
||||||
|
:files ("*.el" ("term" "term/*.el") "*.texi"
|
||||||
|
"*.ti" ("terminfo/e" "terminfo/e/*")
|
||||||
|
("terminfo/65" "terminfo/65/*")
|
||||||
|
("integration" "integration/*")
|
||||||
|
(:exclude ".dir-locals.el" "*-tests.el")))
|
||||||
|
:hook
|
||||||
|
(eat-mode-hook . eat-char-mode)
|
||||||
|
(eshell-load-hook . eat-eshell-mode)
|
||||||
|
(eshell-load-hook . eat-eshell-visual-command-mode)
|
||||||
|
:custom
|
||||||
|
(eat-kill-buffer-on-exit t)
|
||||||
|
:config
|
||||||
|
(setopt eat-shell-prompt-annotation-delay 0)
|
||||||
|
(setopt eat-very-visible-cursor-type '(t nil nil))
|
||||||
|
(setopt eat-default-cursor-type '(t nil nil))
|
||||||
|
(setq process-adaptive-read-buffering nil)
|
||||||
|
(setq read-process-output-max (* 4 1024 1024))
|
||||||
|
;; Compile terminfo if needed
|
||||||
|
(eat-compile-terminfo))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Many of these settings are there to reduce flickering. They may not be needed
|
||||||
|
long term.
|
||||||
|
|
||||||
Loading…
Reference in a new issue