An action "beginning-of-line" is just set cursor position to ch: 0 ,
But sometime I want to move cursor to head of text, considering indentation, lists, task lists, and so on.
This PR provides another behavior of beginning-of-line, similer to press HOME key.
move cursor to between indentation and text.
move cursor between list (-), task list (- [ ]), enumulation characters (1. ) and text.
move cursor between heading characters (#) and text.
When pipe character "|" is cursor:
some indented text|
(exec command beginning-of-line-as-homekey)
|some indented text
(exec again)
| some indented text
- some list item|
- |some list item
| - some list item
- [ ] some task list item|
- [ ] |some task list item
| - [ ] some task list item
1. some numbered list item|
1. |some numbered list item
| 1. some numbered list item
## some heading text|
## |some heading text
|## some heading text
How do you feel about this added feature?
or shuld I split another plugin?
An action "beginning-of-line" is just set cursor position to
ch: 0
, But sometime I want to move cursor to head of text, considering indentation, lists, task lists, and so on.This PR provides another behavior of beginning-of-line, similer to press HOME key.
When pipe character "|" is cursor:
How do you feel about this added feature? or shuld I split another plugin?