Skip to content

Add option to disable switching to the previous tab when closing the current one.#1524

Merged
kovidgoyal merged 1 commit into
kovidgoyal:masterfrom
ddddavidmartin:add_option_to_not_switch_to_previous_when_closing_current_tab
Apr 3, 2019
Merged

Add option to disable switching to the previous tab when closing the current one.#1524
kovidgoyal merged 1 commit into
kovidgoyal:masterfrom
ddddavidmartin:add_option_to_not_switch_to_previous_when_closing_current_tab

Conversation

@ddddavidmartin
Copy link
Copy Markdown
Contributor

When setting tab_bar_switch_to_previous_when_closing_current_tab kitty will now switch to the left tab instead of the previously active one when the currently active tab is closed. This makes the closing of tabs a bit more predictable. It works well in my workflows as I tend to open and close a lot of tabs.

Note that we are not touching the handling of the active_tab_history at all. I was considering it, but we want to keep track of it in any case to keep the 'switch to previous tab' shortcut working.

Thanks!

…current one.

When setting tab_bar_switch_to_previous_when_closing_current_tab kitty
will now switch to the left tab instead of the previously active one
when the currently active tab is closed. This makes the closing of tabs
a bit more predictable.

Note that we are not touching the handling of the active_tab_history at
all. I was considering it, but we want to keep track of it in any case
to keep the 'switch to previous tab' shortcut working.
@kovidgoyal kovidgoyal merged commit 34de072 into kovidgoyal:master Apr 3, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants