streetwriters / notesnook

A fully open source & end-to-end encrypted note taking alternative to Evernote.
https://notesnook.com/
GNU General Public License v3.0
10.35k stars 638 forks source link

Add keyboard shortcuts for desktop apps #1014

Open 0scvr opened 2 years ago

0scvr commented 2 years ago

What problem are you facing?

There are no/barely any keyboard shortcuts in the desktop apps and in the note editor. This makes writting notes slow & unproductive especially when coming from another note-taking app who has shortcuts.

What's the solution you'd like to see in Notesnook?

It would be great to have keyboard shortcuts like many of the other note-taking apps available since it greatly increases productivity and can make it easier to switch from another app.

Some notable shortcuts I'd like to see:

What alternatives have you considered?

No response

Additional context

Anyone, feel free to add your shortcut ideas here.

Could be a dup of #105 ?

0scvr commented 2 years ago

I'd be willing to work on this issue btw, if it's inline with your roadmap and if I had a bit of help since I don't know the codebase yet.

short-y commented 2 years ago

There are quite a few shortcuts in the code but they're not documented very well, if at all. For instance ALT-D inserts the date, ALT-T inserts the time, MOD-ALT-D inserts time and date, MOD-ALT-C toggles code block. But I agree therre could be many more shortcuts including ALT-/ or ALT-? to show the current shortcuts.

Supposedly the package used for the editor has shortcuts, too although I'm not sure what they are. Certainly, by experimenting, I fidc that CTL-B toggles BOLD, CTL-I toggles italics

0scvr commented 2 years ago

I was also able to find the same shortcuts but trying out random combinations on my keyboard (yeah lol) and you make a good point about keyboard shortcuts, that should be explained somewhere like a help menu for example.

0scvr commented 2 years ago

https://tiptap.dev/api/keyboard-shortcuts#predefined-keyboard-shortcuts

Not all of the shortcuts explained above work in Notesnook but there are a few more shortcuts than I thought.

McBaumwolle commented 1 year ago

I'd love to see something like this in Notesnook! Especially like that command search in Notion or VS Code where you can search anything. My suggestion would be a simple command editor or presets for like "selecting the current color" where I select text with the keyboard for example and then "Alt+P" and it gets set to the current color.

ahusby commented 1 year ago

Yeah, I can't use this kind of app with mouse. This is a deal-breaker for me. Writing notes is a keyboard based activity, my hands should always be on the keyboard. Reaching for the mouse disturbs the flow of thought. The more I work with computers the less I use the mouse. While I am doing my thing I should be able to jot down a note quickly almost without thinking about it, without switching context and making the note taking my primary task.

Gahwa-Gahwa commented 9 months ago

+1 I second this. We need keyboard shortcuts, using mouse for everything is annoying and breaks my workflow. Even simple things like creating a new note, entering focus mode or aligning text can only be done with mouse.

dep commented 7 months ago

Some essentials for me:

Down the road would love to see cmd-k trigger a command palette which would allow me to typeahead common actions (eg. a box pops up where I can type things like "publish", "lock", etc)

Havock94 commented 6 months ago

I'd also propose a shortcut to lock the app manually

bravesfan21 commented 3 months ago

I would love to have a highlight shortcut (ctrl + shift + h) added.