Make page-up and page-down behave as expected in vterm

This commit is contained in:
Wojciech Kozlowski 2019-12-15 16:54:55 +01:00
parent af8460f9b2
commit 90438d3073

View File

@ -109,7 +109,12 @@
(defun x-vterm-setup ()
(define-key vterm-mode-map
[remap whole-line-or-region-yank] 'vterm-yank)
(define-key vterm-mode-map (kbd "C-S-v") 'vterm-yank))
(define-key vterm-mode-map (kbd "C-S-v") 'vterm-yank)
(define-key vterm-mode-map
[remap scroll-up-command] 'vterm--self-insert)
(define-key vterm-mode-map
[remap scroll-down-command] 'vterm--self-insert))
(defun x-vterm-recycle ()
"Kill current buffer and start a vterm in it."