Allow passing a "reset" argument to resize_window

This commit is contained in:
Kovid Goyal
2022-02-11 08:16:17 +05:30
parent c4b3bbd057
commit 1c48ec7196
3 changed files with 6 additions and 1 deletions

View File

@@ -248,6 +248,8 @@ action, for example::
map ctrl+right resize_window wider
map ctrl+up resize_window taller
map ctrl+down resize_window shorter 3
# reset all windows to default sizes
map ctrl+home resize_window reset
The ``resize_window`` action has a second, optional argument to control
the resizing increment (a positive integer that defaults to 1).