Skip to content
Discussion options

You must be logged in to vote

Yes, goto_tab does it with zero or a negative number: zero and negative numbers go to previously active tabs (goto_tab). The number is shifted by one, so the previous tab is 0, not -1:

map ctrl+tab goto_tab 0

Pressing it again takes you back, so it toggles between your two most recent tabs like Alt+Tab. goto_tab -1 goes to the tab before that, goto_tab -2 the one before, and so on. kitty keeps that history per OS window (active_tab_history in kitty/tabs.py).

For the Firefox-style list: select_tab (map ctrl+shift+tab select_tab) opens an overlay to pick a tab by name, but it lists them in tab-bar order, not by recent activity, and there's no hold-Ctrl-and-cycle mode.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@AllergicMushroom
Comment options

Answer selected by AllergicMushroom
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants