Update docs to note that tabs can be dragged and dropped

This commit is contained in:
Kovid Goyal 2026-03-02 16:48:43 +05:30
parent ba8a8a0980
commit d807960684
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C
2 changed files with 6 additions and 3 deletions

View file

@ -117,6 +117,9 @@ Similarly, you can detach the current tab, with::
# asks which OS Window to move the tab into
map ctrl+f4 detach_tab ask
Note that tabs can be re-arranged, detached and moved to another OS Window in
the same kitty instance using drag and drop.
Finally, you can define a shortcut to close all windows in a tab other than the
currently active window::

View file

@ -2961,13 +2961,13 @@ class Boss:
opts.next_to = opts.next_to or f'id:{self.window_for_dispatch.id}'
launch(self, opts, args_)
@ac('tab', 'Move the active tab forward')
@ac('tab', 'Move the active tab forward. You can also use drag and drop to re-arrange tabs.')
def move_tab_forward(self) -> None:
tm = self.active_tab_manager
if tm is not None:
tm.move_tab(1)
@ac('tab', 'Move the active tab backward')
@ac('tab', 'Move the active tab backward. You can also use drag and drop to re-arrange tabs.')
def move_tab_backward(self) -> None:
tm = self.active_tab_manager_with_dispatch
if tm is not None:
@ -3339,7 +3339,7 @@ class Boss:
self.choose_entry('Choose a tab to move the window to', items, chosen)
@ac('tab', '''
Detach a tab, moving it to another OS Window
Detach a tab, moving it to another OS Window. You can also use drag and drop to detach tabs.
See :ref:`detaching windows <detach_window>` for details.
''')