diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-21 09:27:19 +0100 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2018-08-21 09:27:19 +0100 |
commit | bfc9fb4b3bd626b3183728f8d781ebbb5ecd9872 (patch) | |
tree | 80d4bdd0cc7acb884aa53921b545d4ad4d3c5854 /key-bindings.c | |
parent | 314ee137a91fcbed7459716f600c19d220e05845 (diff) |
Add flags to refresh-client (-U -D -L -R and -c) to pan a window that
is larger than the client manually. Bound to S-Up, S-Down, S-Left,
S-Right and Delete manually.
Also add aliases for keys DC = Delete, IC = Insert, and make
refresh-client -C accept XxY as well as X,Y to match default-size.
Diffstat (limited to 'key-bindings.c')
-rw-r--r-- | key-bindings.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/key-bindings.c b/key-bindings.c index c717f5ae..fbc54fb8 100644 --- a/key-bindings.c +++ b/key-bindings.c @@ -258,6 +258,11 @@ key_bindings_init(void) "bind M-n next-window -a", "bind M-o rotate-window -D", "bind M-p previous-window -a", + "bind -r S-Up refresh-client -U 10", + "bind -r S-Down refresh-client -D 10", + "bind -r S-Left refresh-client -L 10", + "bind -r S-Right refresh-client -R 10", + "bind -r DC refresh-client -c", "bind -r M-Up resize-pane -U 5", "bind -r M-Down resize-pane -D 5", "bind -r M-Left resize-pane -L 5", |