Add a new `neighboring_window` function to switch to neighboring windows in the current layout, similar to window movement in vim

Fixes #916
This commit is contained in:
Kovid Goyal
2018-09-08 08:59:11 +05:30
parent 9329b2c202
commit e39635ea16
5 changed files with 34 additions and 3 deletions

View File

@@ -151,6 +151,13 @@ Focus specific window :sc:`first_window`, :sc:`second_window` ... :sc:`ten
(clockwise from the top-left)
======================== =======================
Additionally, you can define shortcuts in :file:`kitty.conf` to go to neighboring
windows (similar to window movement in vim)::
map ctrl+left neighboring_window left
map ctrl+down neighboring_window bottom
...
Other keyboard shortcuts
----------------------------------