penge / my-notes

Simple and fast note-taking in Chrome with Google Drive support.

Home Page:https://chrome.google.com/webstore/detail/my-notes/lkeeogfaiembcblonahillacpaabmiop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Indent & outdent using keyboard for lists

pronojitsaha opened this issue · comments

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

@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?

Yes single line works, thanks!

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

Great! I will look into adding this feature next.

@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.

tab_and_shift_tab.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.

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)