Splits layout: Add a new mappable action to move the active window to the screen edge

Fixes #5643
This commit is contained in:
Kovid Goyal 2022-11-03 17:40:04 +05:30
parent 9d471782dd
commit f5de08d5fa
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
3 changed files with 36 additions and 8 deletions

View file

@ -38,6 +38,8 @@ Detailed list of changes
0.26.5 [future]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- Splits layout: Add a new mappable action to move the active window to the screen edge (:iss:`5643`)
- ssh kitten: Allow using absolute paths for the location of transferred data (:iss:`5607`)
- Fix a regression in the previous release that caused a :opt:`resize_draw_strategy` of ``static`` to not work (:iss:`5601`)

View file

@ -167,6 +167,12 @@ define a few extra key bindings in :file:`kitty.conf`::
map shift+right move_window right
map shift+down move_window down
# Move the active window to the indicated screen edge
map ctrl+shift+up layout_action move_to_screen_edge top
map ctrl+shift+left layout_action move_to_screen_edge left
map ctrl+shift+right layout_action move_to_screen_edge right
map ctrl+shift+down layout_action move_to_screen_edge bottom
# Switch focus to the neighboring window in the indicated direction
map ctrl+left neighboring_window left
map ctrl+right neighboring_window right