freitass / todo.txt-vim

Vim plugin for Todo.txt
486 stars 121 forks source link

Prefer: `0i` instead of `I` for mechanical insertion #80

Closed ramses0 closed 5 months ago

ramses0 commented 5 months ago

vim details: I inserts before the first character instead of 0i which inserts at the beginning of the line.

Usually I inserts at the first character in the line, and usually the first character is on the far left. However, I ignores leading spaces which conflicts a bit with the mechanical manipulation of the text.

While it's not great todo.txt practices, if you did "mark as done" while on a line like * ...etc... (eg: an indented bullet), the I... would put the x away from the far left (not the first character on the line, but instead the first character before the first character).

Prefer: 0i instead of I for mechanical insertion

freitass commented 5 months ago

Thank you!

ramses0 commented 5 months ago

(thank you!! :-)