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 🤔
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 🤔