A new swap_with_window mappable action

Allows visual selection of a window to swap with the current window
This commit is contained in:
Kovid Goyal
2021-10-17 12:47:13 +05:30
parent 0de319fc73
commit a4a7d49bed
5 changed files with 13 additions and 2 deletions

View File

@@ -58,6 +58,7 @@ Move window forward :sc:`move_window_forward`
Move window backward :sc:`move_window_backward`
Move window to top :sc:`move_window_to_top`
Visually focus window :sc:`focus_visible_window`
Visually swap window :sc:`swap_with_window`
Focus specific window :sc:`first_window`, :sc:`second_window` ... :sc:`tenth_window`
(also :kbd:`⌘+1`, :kbd:`⌘+2` ... :kbd:`⌘+9` on macOS)
(clockwise from the top-left)

View File

@@ -32,7 +32,7 @@ To update |kitty|, :doc:`follow the instructions <binary>`.
the request by default instead of denying by default. See
:opt:`clipboard_control` for details (:iss:`4022`)
- A new mappable action ``select_window_in_tab`` to select a window in the current tab to switch to, by window title
- A new mappable action ``swap_with_window`` to swap the current window with another window in the tab, visually
- A new option :opt:`bell_path` to specify the path to a sound file
to use as the bell sound