summaryrefslogtreecommitdiff
path: root/emacs.org
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-03-05 17:17:22 +0200
committerThanos Apollo <[email protected]>2023-03-05 17:17:22 +0200
commit9cb1b120cba9540be2bc88fcb0a453a5cd895fbf (patch)
tree784b6bcf0c5d977133ef2c83fc7bef84a1cb3c3e /emacs.org
parent602d968765050ec39a1936daf89625c13364bec4 (diff)
emacs: update vterm bindings and add multi-vterm configuration
Diffstat (limited to 'emacs.org')
-rwxr-xr-xemacs.org21
1 files changed, 9 insertions, 12 deletions
diff --git a/emacs.org b/emacs.org
index a960f12..011cbb6 100755
--- a/emacs.org
+++ b/emacs.org
@@ -402,16 +402,13 @@ Hook with ~dired-mode~
* Terminals
** Vterm
#+begin_src emacs-lisp
-(use-package vterm
- :ensure nil
- :config
- ;; Check if it's one of my guix systems to load from
- ;; ~/.guix-profile. Otherwise we use /bin/zsh.
- (if
- (or (string= (system-name) "hephaestus")
- (string= (system-name) "zeus"))
- (setq vterm-shell "~/.guix-profile/bin/bash")
- (setq vterm-shell "/bin/bash")))
+ (use-package vterm
+ :ensure nil)
+
+ (use-package multi-vterm
+ :ensure nil
+ :config
+ (setq multi-vterm-dedicated-window-height 25))
#+end_src
** Eshell
#+begin_src emacs-lisp
@@ -731,7 +728,7 @@ Hook with ~dired-mode~
(general-define-key
"C-d" 'kill-region
"C-k" 'copy-region-as-kill
- "C-c v" 'vterm
+ "C-c v" 'multi-vterm-next
"C-x 9" 'make-mini-buffer
"C-c l e" 'apollo/emacs-keys
;;Change keyboard layouts/language
@@ -745,7 +742,7 @@ Hook with ~dired-mode~
(general-does
"t" 'counsel-load-theme
"l" 'display-line-numbers-mode
- "v" 'multi-vterm-next
+ "v" 'multi-vterm
"e" 'eshell
"i" 'circe
"c" 'apollo/center-buffer