From 1670525ba8102c0873d62b689130b4509b3c869c Mon Sep 17 00:00:00 2001 From: Wojciech Kozlowski Date: Fri, 8 Apr 2022 20:52:20 +0200 Subject: [PATCH] Configure vterm module --- config.el | 13 +++++++++++++ init.el | 2 +- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/config.el b/config.el index 59df154..e62332f 100644 --- a/config.el +++ b/config.el @@ -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. ;; ----------------------------------------------------------------------------- diff --git a/init.el b/init.el index c104ea1..25f238f 100644 --- a/init.el +++ b/init.el @@ -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