mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-05-13 08:26:56 +00:00
Update docs to note that tabs can be dragged and dropped
This commit is contained in:
parent
ba8a8a0980
commit
d807960684
2 changed files with 6 additions and 3 deletions
|
|
@ -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::
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
''')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue