diff options
author | nicm <nicm> | 2022-08-23 08:14:19 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-08-23 08:14:19 +0000 |
commit | 416c27c9958e928b9ff845c1701acf5b10d0db8d (patch) | |
tree | 735413f17d4db0e675b1d0a2ddf1eb96b9c05a8e /key-bindings.c | |
parent | 7c2dcd72380dc2d9e119e99cb423a67ae17b6bd2 (diff) |
Add scroll-middle copy mode command to make cursor line in the middle,
from Varun Kumar E in GitHub issue 3307.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index 4b790dfc..528e0b73 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -605,6 +605,7 @@ key_bindings_init(void) "bind -Tcopy-mode-vi h { send -X cursor-left }", "bind -Tcopy-mode-vi j { send -X cursor-down }", "bind -Tcopy-mode-vi k { send -X cursor-up }", + "bind -Tcopy-mode-vi z { send -X scroll-middle }", "bind -Tcopy-mode-vi l { send -X cursor-right }", "bind -Tcopy-mode-vi n { send -X search-again }", "bind -Tcopy-mode-vi o { send -X other-end }", |