From 9cb1b120cba9540be2bc88fcb0a453a5cd895fbf Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Sun, 5 Mar 2023 17:17:22 +0200 Subject: emacs: update vterm bindings and add multi-vterm configuration --- emacs.org | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) (limited to 'emacs.org') 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 -- cgit v1.2.3