VTerm

about | blog | config | notes | github

vterm is a terminal emulator for GNU/Emacs that makes use of the libvterm C library. As this code is compiled, it is much faster than existing term modes.

1. Configuration

(use-package vterm
  :custom
  (vterm-ignore-blink-cursor nil)
  (vterm-buffer-name-string "vterm [%s]")
  (vterm-always-compile-module t)
  (vterm-kill-buffer-on-exit t)
  (vterm-max-scrollback 5000))

Add this to my General Leader Keybindings Definer so I we can quickly jump to the terminal emulator whenever we want.

(require 'init-general)
(zamlz/leader-keys
  "e" '(:ignore t :which-key "Exec Commands")
  "ee" '(vterm :which-key "Spawn vterm instance"))

Don't forget to provide this file…

(provide 'init-vterm)

Created: 2021-11-13

Emacs 26.1 (Org mode 9.5)