diff options
| author | jixiuf <jixiuf@qq.com> | 2020-11-18 16:48:26 +0800 |
|---|---|---|
| committer | jixiuf <jixiuf@qq.com> | 2020-11-18 16:49:31 +0800 |
| commit | 2c4d2c9fc8e6e89746e6aa191aee2b8974c8eab9 (patch) | |
| tree | faf3c7fd6ef24e668883c75e31e2e24f4ca86511 /vterm.el | |
| parent | 8d016d2d65d514cfa978f4541ce83b111007dd40 (diff) | |
rebind prior/next go scroll-down/up-command.
Diffstat (limited to 'vterm.el')
| -rw-r--r-- | vterm.el | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -538,8 +538,10 @@ Exceptions are defined by `vterm-keymap-exceptions'." (define-key map [right] #'vterm-send-right) (define-key map [up] #'vterm-send-up) (define-key map [down] #'vterm-send-down) - (define-key map [prior] #'vterm-send-prior) - (define-key map [next] #'vterm-send-next) + (define-key map [prior] #'scroll-down-command) + (define-key map [S-prior] #'scroll-down-command) + (define-key map [next] #'scroll-up-command) + (define-key map [S-next] #'scroll-up-command) (define-key map [home] #'vterm--self-insert) (define-key map [end] #'vterm--self-insert) (define-key map [C-home] #'vterm--self-insert) |
