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 keyboard shortcuts #7

Merged
merged 1 commit into from
Aug 3, 2020
Merged

Add keyboard shortcuts #7

merged 1 commit into from
Aug 3, 2020

Conversation

TranquilMarmot
Copy link
Owner

This adds Ctrl + F (focus on search bar) and Shift + + (add new node) keyboard shortcuts.

Initially, I had also wanted to add Alt + C/R to enable/disable case sensitivity/regex (along with T/B/G for title/body/tag search) but there's currently no way for the extension webview to grab keys without sending them to the editor (which causes it to open menus in some cases). I also ran into some issues with state management with the react-hotkeys-hook hook in doing this 🤔

@TranquilMarmot TranquilMarmot merged commit b872a29 into main Aug 3, 2020
@TranquilMarmot TranquilMarmot deleted the tranquilmarmot/hotkeys branch August 3, 2020 02:13
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.

None yet

1 participant