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
The commit a612ebe ('Remove trailing whitespaces') removed the
whitespace which was after 'x' markup. It caused to mark the
completed task without space and didn't allow to remove it
automatically.
Before this change:
xCOMPLETION_DATE ....
After this change:
x COMPLETION_DATE ...
Fixes: a612ebe ('Remove trailing whitespaces')
Signed-off-by: Leon Romanovsky <leon@leon.nu>