feat(emacs.d): Install and configure emacs-libvterm

This incredible package provides a fully functional, libvterm based
terminal emulator inside of Emacs.

Killer feature: It's possible to switch the buffer into a full Emacs
text mode (read-only) for selections and such.
This commit is contained in:
Vincent Ambo 2019-12-16 03:49:07 +00:00
parent d4f6c5a399
commit e991834275
2 changed files with 14 additions and 0 deletions

View file

@ -73,6 +73,19 @@
(use-package pg) (use-package pg)
(use-package restclient) (use-package restclient)
(use-package vterm
:config (progn
(setq vterm-shell "/usr/bin/fish")
(setq vterm-exit-functions
(lambda (&rest _) (kill-buffer (current-buffer))))
(setq vterm-set-title-functions
(lambda (title)
(rename-buffer
(generate-new-buffer-name
(format "vterm<%s>"
(s-trim-left
(s-chop-prefix "fish" title)))))))))
;; ;;
;; Packages providing language-specific functionality ;; Packages providing language-specific functionality
;; ;;

View file

@ -73,6 +73,7 @@ let
transient transient
use-package use-package
uuidgen uuidgen
vterm
web-mode web-mode
websocket websocket
which-key which-key