Skip to content

Commit

Permalink
feat: define dedicated tab for vterm
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jun 14, 2023
1 parent 8e3c27b commit 109d902
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/me-tools.el
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
:init
(+map!
"ot" '(nil :wk "vterm")
"otT" #'vterm)
"otT" (+def-dedicated-tab! vterm :exit-hook vterm-exit-functions))
;; Hide vterm install window
(add-to-list
'display-buffer-alist
Expand Down
2 changes: 1 addition & 1 deletion modules/me-window.el
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

(add-to-list
'display-buffer-alist
`(,(rx (seq "*" (or "eshell" "vterm" "terminal") "*"))
`(,(rx (seq "*" (or "eshell" "terminal") "*"))
;; (display-buffer-reuse-window display-buffer-at-bottom)
(display-buffer-reuse-window display-buffer-in-direction)
(direction . bottom) ;; bottom (above below...)
Expand Down

0 comments on commit 109d902

Please sign in to comment.