I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
Is this really the correct behavior?
Yes, as
:help _
details, the _ motion is
Stefan Karlsson wrote:
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
d0 in Normal mode does what you want to do.
Is this really the
Stefan Karlsson wrote:
I was expectig the normal mode command d_ (without count) to delete from the
cursor position to the beginning of the line, but it seems to delete the
entire line, i.e. even words /after/ the cursor.
Is this really the correct behavior?
from :help _