Do I need always type a char then <BS>?
Is there a better solution? I wander whether the vim option can do
this automatically.

The idea of the comment shown above was to leave something to remind you that
you had to come back later, since, as you said, you want to leave the indent
there "for future use"; also, the comment would be sure to stay in place even
if the "bare indent" didn't. But if just adding, let's say, a period, then
backspacing over it, makes the indent remain, then you don't have to type a
lengthy comment unless you need it.

You may even try (untested)

       :inoremap       <CR>    <CR>.<BS>

Note: Next time, please use "Reply to all" rather than "Reply to sender",
unless you're straying off-topic.

Best regards,
Tony.

Reply via email to