Configure vterm module

This commit is contained in:
Wojciech Kozlowski 2022-04-08 20:52:20 +02:00
parent 1b4eda2cbb
commit 1670525ba8
2 changed files with 14 additions and 1 deletions

View File

@ -106,6 +106,19 @@
;; Always open magit in other window.
(after! magit (setq magit-display-buffer-function #'magit-display-buffer-traditional))
;; Extra VTerm configuration.
(after! vterm
(setq vterm-shell "/bin/zsh"
vterm-max-scrollback 10000))
(map! :leader
(:prefix-map ("o" . "open")
(:when (featurep! :term vterm)
:desc "Project VTerm" "p" #'+vterm/project/other-window
:desc "Project VTerm (same window)" "P" #'+vterm/project/here
:desc "VTerm" "t" #'+vterm/other-window
:desc "VTerm (same window)" "T" #'+vterm/here)))
;; -----------------------------------------------------------------------------
;; Configuration for additional packages on top of doom and its modules.
;; -----------------------------------------------------------------------------

View File

@ -76,7 +76,7 @@
;;eshell ; the elisp shell that works everywhere
;;shell ; simple shell REPL for Emacs
;;term ; basic terminal emulator for Emacs
;;vterm ; the best terminal emulation in Emacs
vterm ; the best terminal emulation in Emacs
:checkers
syntax ; tasing you for every semicolon you forget