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

Some essential functions don't have keyboard shortcut. #1803

Open
kyoh86 opened this Issue Apr 12, 2018 · 11 comments

Comments

Projects
None yet
10 participants
@kyoh86
Copy link

kyoh86 commented Apr 12, 2018

I want Boostnote to boost my writing work.
But it does not have keyboard shortcuts just for essential functions.

i.e.:

  • Buttons on top right: 92d50a084f56beac7180a894f97555e0

    • Toggle mode
    • (Toggle) star
    • (Toggle) fullscreen
  • Tabs on left: 796a51529a1fbdb1f1d12b45326e7413

    • Show starred
    • Show trash
    • And, more...
@Rokt33r

This comment has been minimized.

Copy link
Member

Rokt33r commented Apr 12, 2018

The most difficult part of this issue is deciding key combinations for each OS.

So, we need to discuss this before we introduce! Could you give us some examples for each key combination?

@lisdude

This comment has been minimized.

Copy link

lisdude commented Apr 12, 2018

I'll make some stuff up!

For the sidebar...
CMD-B Collapse / expand sidebar (like VSCode)
CMD-F Focus search (oh, I see CTRL-S does this... CTRL is kind of weird in macOS though)
CMD-0 All Notes
CMD-1 Starred
CMD-[2-9] Open the corresponding folder (like Firefox tabs)
(is trash used enough for a shortcut?)

For the top bar...
CMD-. Toggle Mode
CMD-+ Star
CMD-Backspace Trash
CMD-I Info
CMD-T Add tag

@ZeroX-DG

This comment has been minimized.

Copy link
Member

ZeroX-DG commented Apr 13, 2018

Some ideas for linux:
ctrl + b Collapse / Expand sidebar
ctrl + shift + a All notes
ctrl + shift + s Starred
ctrl + pagedown Move to code snippet tab on the right
ctrl + pageup Move to code snippet tab on the left
ctrl + shift + pagedown Move to folder bellow
ctrl + shift + pageup Move to folder above
ctrl + shift + n New Folder

Top bar:
ctrl + m Toggle Mode
ctrl + shift + s Star
ctrl + shift + f Full screen
ctrl + shift + t Add Tag

@yougotwill

This comment has been minimized.

Copy link
Member

yougotwill commented Apr 14, 2018

Fullscreen shortcut is happening 👍 #1754
With regards to the top bar fullscreen option I agree with @ZeroX-DG for ctrl + shift + f

@adlersantos

This comment has been minimized.

Copy link

adlersantos commented Jun 7, 2018

Some suggestions for Mac:

  • cmd + F or cmd + L (like Chrome going to address bar) for focus search
  • cmd + option + F find and replace (once we have it)
  • cmd + shift + N New folder
  • cmd + K, B Collapse / expand left sidebar (like Sublime Text)
  • cmd + D Multiple selection (like Sublime Text)
  • cmd + T Jump to note (like Sublime Text), but I know this will conflict with adding new tabs in snippets
  • cmd + option + 1 Hide markdown preview (intuitively, show 1 column)
  • cmd + option + 2 Show markdown preview (intuitively, show 2 columns)

And here are proposed modifications for some existing shortcuts on Mac, just replace ctrl (which feels odd for Mac) with cmd:

  • cmd + K Move to the note above (instead of the default ctrl + K)
  • cmd + J Move to the note below (instead of the default ctrl + J)
  • cmd + delete Delete the note (instead of the default ctrl + delete)

For even more flexibility, perhaps in the settings we can set our own keyboard shortcuts for various available actions. Just like any popular text editor (Sublime, VSCode, Atom, etc) has done.

@blahah

This comment has been minimized.

Copy link

blahah commented Jun 16, 2018

Building on what @adlersantos said, the simplest implementation would be to add these options to the hotkeys settings pane but not to choose defaults for some/all of them (i.e. leave them blank by default). Defaults for different OSes could be later added as a separate feature after collecting analytics / user feedback.

@heihachi88

This comment has been minimized.

Copy link

heihachi88 commented Aug 7, 2018

ctrl + pagedown Move to code snippet tab on the right
ctrl + pageup Move to code snippet tab on the left

On Windows, please, or add an option for custom keymaps.

@IssuehuntBot

This comment has been minimized.

Copy link

IssuehuntBot commented Nov 1, 2018

@adlersantos funded this issue with $10. See it on IssueHunt

@adlersantos

This comment has been minimized.

Copy link

adlersantos commented Nov 1, 2018

Just started with a donation to have this under the radar of the contributors. Feel free to add to the funding to encourage development and/or further discussions for this feature. Looking forward!

@IssuehuntBot

This comment has been minimized.

Copy link

IssuehuntBot commented Feb 7, 2019

@sheim has funded $10.00 to this issue. See it on IssueHunt

@sheim

This comment has been minimized.

Copy link

sheim commented Feb 7, 2019

Agreed with adlersantos suggestions for macOS. In particular, going to the searchbar with both ctrl+S and cmd+shift+L works if I'm already in the navbar, but not if I'm editing a note. So then I need to first click in the navbar which defeats the purpose of the hotkey...

A quick solution could be to have a hotkey to switch between the editor and navbar (kind of like in a jupyter notebook). Added to funding.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment