Configure vterm module
This commit is contained in:
parent
1b4eda2cbb
commit
1670525ba8
13
config.el
13
config.el
@ -106,6 +106,19 @@
|
|||||||
;; Always open magit in other window.
|
;; Always open magit in other window.
|
||||||
(after! magit (setq magit-display-buffer-function #'magit-display-buffer-traditional))
|
(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.
|
;; Configuration for additional packages on top of doom and its modules.
|
||||||
;; -----------------------------------------------------------------------------
|
;; -----------------------------------------------------------------------------
|
||||||
|
2
init.el
2
init.el
@ -76,7 +76,7 @@
|
|||||||
;;eshell ; the elisp shell that works everywhere
|
;;eshell ; the elisp shell that works everywhere
|
||||||
;;shell ; simple shell REPL for Emacs
|
;;shell ; simple shell REPL for Emacs
|
||||||
;;term ; basic terminal emulator for Emacs
|
;;term ; basic terminal emulator for Emacs
|
||||||
;;vterm ; the best terminal emulation in Emacs
|
vterm ; the best terminal emulation in Emacs
|
||||||
|
|
||||||
:checkers
|
:checkers
|
||||||
syntax ; tasing you for every semicolon you forget
|
syntax ; tasing you for every semicolon you forget
|
||||||
|
Loading…
Reference in New Issue
Block a user