Set 'backspace' to some sensible value ("indent,eol,start") and place
the cursor in the middle of some line of text. Then try these:
a<C-U>
deletes to the beginning of the line
afoo<C-U>
deletes just "foo"
afoo<C-U><C-U>
deletes "foo", then to the beginning of the line
afoo<Left><Left><Left><C-U>
deletes everything before "foo"
Apparently <C-U> deletes backwards to the beginning of the line, unless
the cursor is just past some newly entered text, in which case it
deletes backwards to the beginning of the entered text.
This dual behaviour doesn't seem to be documented anywhere.
--
David
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.