From d5ab7577561999d4f57863506b9d510ef859670f Mon Sep 17 00:00:00 2001 From: Thanos Apollo Date: Thu, 15 Dec 2022 13:26:59 +0200 Subject: general:add vterm keymap --- .emacs.d/lisp/keys.el | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) (limited to '.emacs.d') diff --git a/.emacs.d/lisp/keys.el b/.emacs.d/lisp/keys.el index c3ab4d4..e8a5b74 100644 --- a/.emacs.d/lisp/keys.el +++ b/.emacs.d/lisp/keys.el @@ -17,10 +17,11 @@ ;; Basic functions (general-define-key "C-d" 'kill-region - "C-k" 'copy-region-as-kill) -;; + "C-k" 'copy-region-as-kill + "C-c v" 'multi-vterm-next) - ; My general does the following: + + ; My general does the followin (general-does "t" 'counsel-load-theme "l" 'display-line-numbers-mode @@ -36,6 +37,8 @@ "C-s" 'isearch-forward "C-o" 'pdf-isearch-occur) + + ;;vterm (general-does :keymaps 'vterm-mode-map @@ -43,6 +46,12 @@ "o" 'multi-vterm "p" 'multi-vterm-prev) +(general-define-key + :keymaps 'vterm-mode-map + "C-c v n" 'multi-vterm-next + "C-c v p" 'multi-vterm-prev + "C-c v o" 'multi-vterm) + ;;eshell (general-does :keymaps 'eshell-mode-map -- cgit v1.2.3