summaryrefslogtreecommitdiff
path: root/.emacs.d
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2022-12-15 13:26:59 +0200
committerThanos Apollo <[email protected]>2022-12-15 13:26:59 +0200
commitd5ab7577561999d4f57863506b9d510ef859670f (patch)
tree9842f5d8c49e0f722e5002e08e7baa72168ad9e8 /.emacs.d
parent8822c051f5cb7adb8b64a401936e66f93fdd298a (diff)
general:add vterm keymap
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/keys.el15
1 files changed, 12 insertions, 3 deletions
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