summaryrefslogtreecommitdiff
path: root/.emacs.d
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.d
parent602d968765050ec39a1936daf89625c13364bec4 (diff)
emacs: update vterm bindings and add multi-vterm configuration
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/init.el15
1 files changed, 6 insertions, 9 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 9d7c76d..0f5c710 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -316,15 +316,12 @@ Contains the list of packages that need to be installed.")
(add-hook 'dired-mode-hook 'all-the-icons-dired-mode)
(use-package vterm
+ :ensure nil)
+
+(use-package multi-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")))
+ (setq multi-vterm-dedicated-window-height 25))
(use-package eshell
:ensure nil
@@ -632,7 +629,7 @@ you have the correctly set the OPENAI_API_KEY variable"
(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
@@ -646,7 +643,7 @@ you have the correctly set the OPENAI_API_KEY variable"
(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