feat: improve tab navigation and cycling #9441
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR includes commits based on the feature request from #8681
It sets up custom fields for tab navigation within the 'Keyboard Shortcuts' section and also introduces a new section with two radio options under 'Tab Management'. These options allow users to decide whether they should cycle through unloaded tabs while navigating with shortcuts. Additionally, this same configuration can be bound to a shortcut for quick toggling.
I am aware someone tried to add custom shortcuts for tab navigation many months ago, but it was discontinued and unfinished, so I've made this.
I attempted to set the default shortcuts for tab cycling to 'Ctrl + Tab' and 'Ctrl + Shift + Tab', so that people who were already used to those would not have to go through the struggle of setting these manually on the custom fields. However, the 'Ctrl + Shift + Tab' combination did not function as expected. Because of that, I've decided to leave these default keybinds undefined for the time being and submit this PR for Cheff to check it out.
The l10n PR related to this is right here.