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

web: add tab keyboard shortcuts #7322

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

Conversation

01zulfi
Copy link
Collaborator

@01zulfi 01zulfi commented Jan 14, 2025

  • add desktop shortcuts: ctrl+w, ctrl+n, ctrl+t, ctrl+shift+t, ctrl+tab, ctrl+shift+tab
  • update task list toggle shortcut from ctrl+shift+t to ctrl+alt+shift+t

Closes #6250
Related to #4828 #1014

Comment on lines 61 to 68
{
is: (event: KeyboardEvent) =>
IS_DESKTOP_APP &&
(event.ctrlKey || event.metaKey) &&
event.shiftKey &&
event.key === "T",
action: () => useEditorStore.getState().undoCloseSession()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this shortcut really necessary?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we're adding all the other tab shortcuts, I think it is worth adding an undo close tab shortcut

@01zulfi 01zulfi force-pushed the feat/more-tab-shortcuts branch from d54477d to a82ce0e Compare January 29, 2025 05:32
* add desktop shortcuts: ctrl+w, ctrl+n, ctrl+t, ctrl+shift+t, ctrl+tab, ctrl+shift+tab
* update task list toggle shortcut from ctrl+shift+t to ctrl+alt+shift+t

Signed-off-by: 01zulfi <85733202+01zulfi@users.noreply.github.com>
@01zulfi 01zulfi force-pushed the feat/more-tab-shortcuts branch from a82ce0e to 848bc4e Compare January 29, 2025 05:33
@01zulfi 01zulfi requested a review from thecodrr January 29, 2025 05:34
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.

Mac OS keyboard shortcut: [Command]+[N]
2 participants