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

Keyboard shortcut to nest a list item #170

Closed
borekb opened this Issue Aug 9, 2016 · 6 comments

Comments

Projects
None yet
2 participants
@borekb

borekb commented Aug 9, 2016

I often write nested lists and it would be useful if e.g. Tab would nest the list instead of inserting a Tab character.

Before pressing tab:

- First item
- |

After pressing tab:

- First item
    - |
@mike-ward

This comment has been minimized.

Show comment
Hide comment
@mike-ward

mike-ward Aug 9, 2016

Owner

Interesting idea. Don't think it would interfere with anything. I'll code something up to see how it goes.

Owner

mike-ward commented Aug 9, 2016

Interesting idea. Don't think it would interfere with anything. I'll code something up to see how it goes.

@mike-ward mike-ward added the fixed label Aug 22, 2016

@mike-ward mike-ward closed this Aug 25, 2016

@borekb

This comment has been minimized.

Show comment
Hide comment
@borekb

borekb Aug 29, 2016

Trying this out in 1.30 and it jumps two spaces – should be four to be safe in most MD implementations.

Other than that, it seems to be working nicely, handling both Tab and Shift+Tab. 👍

borekb commented Aug 29, 2016

Trying this out in 1.30 and it jumps two spaces – should be four to be safe in most MD implementations.

Other than that, it seems to be working nicely, handling both Tab and Shift+Tab. 👍

@mike-ward

This comment has been minimized.

Show comment
Hide comment
@mike-ward

mike-ward Aug 29, 2016

Owner

Tabs are always two spaces in MDE. Four might be safer but it's two everywhere else so I stuck to it for consistency.

Owner

mike-ward commented Aug 29, 2016

Tabs are always two spaces in MDE. Four might be safer but it's two everywhere else so I stuck to it for consistency.

@borekb

This comment has been minimized.

Show comment
Hide comment
@borekb

borekb Aug 29, 2016

Ah ok. Is this user-configurable? I'd set it to 4 spaces everywhere.

borekb commented Aug 29, 2016

Ah ok. Is this user-configurable? I'd set it to 4 spaces everywhere.

@mike-ward

This comment has been minimized.

Show comment
Hide comment
@mike-ward

mike-ward Aug 29, 2016

Owner

Nope, I've resisted this. It seems like such a trivial thing to double tap tab. Also, if someone set it to 8 they would get some behaviors they might not expect.

Owner

mike-ward commented Aug 29, 2016

Nope, I've resisted this. It seems like such a trivial thing to double tap tab. Also, if someone set it to 8 they would get some behaviors they might not expect.

@borekb

This comment has been minimized.

Show comment
Hide comment
@borekb

borekb Aug 29, 2016

Fair enough.

borekb commented Aug 29, 2016

Fair enough.

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