Implement directional movement of windows

This commit is contained in:
Kovid Goyal
2018-09-08 23:51:09 +05:30
parent b18b705632
commit cb3671343e
4 changed files with 34 additions and 7 deletions

View File

@@ -151,11 +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)::
Additionally, you can define shortcuts in :file:`kitty.conf` to focus neighboring
windows and move windows around (similar to window movement in vim)::
map ctrl+left neighboring_window left
map ctrl+down neighboring_window bottom
map shift+left move_window right
map ctrl+down neighboring_window down
map shift+down move_window up
...