penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.
https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop
MIT License
240 stars 34 forks source link

Indent & outdent using keyboard for lists #398

Closed pronojitsaha closed 1 year ago

pronojitsaha commented 2 years ago

Right now indenting & outdenting requires to click a button. It should possible through keyboard like Tab & Shift+Tab option in general.

penge commented 2 years ago

@pronojitsaha Thank you for your suggestion. I think we could have in-place-of-cursor (single-line) indenting & outdenting using Tab quite easily. Multi-line might be tricky. Is single-line good enough?

pronojitsaha commented 2 years ago

Yes single line works, thanks!

Also typing 1. or - should automatically start a bulleted list. This is a very time saving action.

penge commented 2 years ago

Great! I will look into adding this feature next.

penge commented 1 year ago

@pronojitsaha Sorry for later response. Here's a preview of this new feature. Managed to add both single-line and multi-line indent and outdent using Tab and Shift+Tab.

https://user-images.githubusercontent.com/907255/195985546-bfce0b65-4ae8-4c60-9903-3495771c33fa.mov

This feature is planned to be released on Monday. Note 1: Indent level is not limited. Outdent will stop when you reach the top-level. Note 2: For single-line indent, text doesn't have to be selected to use this function. Note 3: For this feature to work, you would need to enable "Indent text on Tab" in the Options, as the default Tab function is to focus the address bar.

pronojitsaha commented 1 year ago

Great, thanks! This would be really helpful.

Would typing "1. " automatically create a bulleted list?

On Sat, Oct 15, 2022 at 6:05 PM Pavel Bucka @.***> wrote:

@pronojitsaha https://github.com/pronojitsaha Sorry for later response. Here's a preview of this new feature. Managed to add both single-line and multi-line indent and outdent using Tab and Shift+Tab.

https://user-images.githubusercontent.com/907255/195985546-bfce0b65-4ae8-4c60-9903-3495771c33fa.mov

This feature is planned to be released on Monday. Note 1: Indent level is not limited. Outdent will stop when you reach the top-level. Note 2: For single-line indent, text doesn't have to be selected to use this function. Note 3: For this feature to work, you would need to enable "Indent text on Tab" in the Options, as the default Tab function is to focus the address bar.

— Reply to this email directly, view it on GitHub https://github.com/penge/my-notes/issues/398#issuecomment-1279737031, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI3HEYHJSG3EBOPYN2SOODWDKQK5ANCNFSM6AAAAAAQALLIMY . You are receiving this because you were mentioned.Message ID: @.***>

penge commented 1 year ago

Would typing "1. " automatically create a bulleted list?

Unfortunately not at the moment. But you could use these shortcuts for it:

Bulleted List (⌘ + Shift + 7)
Bulleted List (Ctrl + Shift + 7)

Numbered List (⌘ + Shift + 8)
Numbered List (Ctrl + Shift + 8)
pronojitsaha commented 1 year ago

Ok, thanks for sharing.

That will be a really good feature to have as well. Saves lot of time, as in note-taking your are mostly thinking in bullet points.

On Sat, Oct 15, 2022 at 9:31 PM Pavel Bucka @.***> wrote:

Would typing "1. " automatically create a bulleted list?

Unfortunately not at the moment. But you could use these shortcuts for it:

Bulleted List (⌘ + Shift + 7)

Bulleted List (Ctrl + Shift + 7)

Numbered List (⌘ + Shift + 8)

Numbered List (Ctrl + Shift + 8)

— Reply to this email directly, view it on GitHub https://github.com/penge/my-notes/issues/398#issuecomment-1279773134, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABI3HE4B5SWSEAVKKUMURLDWDLIPFANCNFSM6AAAAAAQALLIMY . You are receiving this because you were mentioned.Message ID: @.***>