Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add commands to close a tab and control which tab subsequently receives focus #398

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

devkev
Copy link

@devkev devkev commented Feb 7, 2021

I often want to close the current tab and end up on the tab immediately to the left/right. Currently this can only be done as two separate actions, either:

  1. move to the desired tab, and then click the 'x' for the old one, or
  2. close the current tab, and then navigate to the desired tab (if necessary).

Both of these are clunky workarounds.

This patch adds commands to close the current tab and also specify which tab should subsequently receive focus. Specifically:

  • Close tab and move to next tab
  • Close tab and move to previous tab
  • Close tab and move to first tab
  • Close tab and move to last tab

…es focus

Specifically:
- Close tab and move to next tab
- Close tab and move to previous tab
- Close tab and move to first tab
- Close tab and move to last tab
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.

1 participant