Add a new `nth_window action that can be used to go to the nth window and also previously active windows, using negative numbers. Similarly, goto_tab` now accepts negative numbers to go to previous windows

Fix #1040
This commit is contained in:
Kovid Goyal
2018-10-21 10:59:06 +05:30
parent 691286f376
commit 097d11819b
5 changed files with 51 additions and 2 deletions

View File

@@ -160,6 +160,13 @@ windows and move windows around (similar to window movement in vim)::
map shift+down move_window up
...
You can also define a shortcut to switch to the previously active window::
map ctrl+p nth_window -1
``nth_window`` will focus the nth window for positive numbers and the
previously active windows for negative numbers.
Other keyboard shortcuts
----------------------------------