diff options
author | Thanos Apollo <[email protected]> | 2023-03-23 07:40:38 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-03-23 07:40:38 +0200 |
commit | 3293c256c1887d5a0860295e5bf28fa384dd0980 (patch) | |
tree | 3e24f52b9f4a25755fec39d06f5f71b6326d7732 /.emacs.d | |
parent | cabec724696cea45cce8ff85b0b80947bdc98dcf (diff) |
emacs: Add thanos/vterm-map
Add my custom keymap for vterm/multi-vterm functions
Diffstat (limited to '.emacs.d')
-rw-r--r-- | .emacs.d/init.el | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 5dfc5d8..24b1906 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -327,6 +327,13 @@ Contains the list of packages that need to be installed.") :config (setq multi-vterm-dedicated-window-height 25)) +(defvar thanos/vterm-map (make-sparse-keymap)) +(define-prefix-command 'thanos/vterm-map) +(define-key global-map (kbd "C-c v") 'thanos/vterm-map) +(define-key thanos/vterm-map (kbd "n") 'multi-vterm-next) +(define-key thanos/vterm-map (kbd "p") 'multi-vterm-prev) +(define-key thanos/vterm-map (kbd "d") 'multi-vterm-dedicated-open) + (use-package eshell :ensure nil :bind (("C-c e" . 'eshell)) |