I realize that the "command" for erasing a letter is x, but if you're seriously just erasing like 3-5 letters, is it really beneficial at all to press ESC + hhhhh + xxxxx?
In vim, is there any reason we can't use the backspace?
|
I realize that the "command" for erasing a letter is x, but if you're seriously just erasing like 3-5 letters, is it really beneficial at all to press In vim, is there any reason we can't use the backspace? |
|||
|
Since your your typing sequence starts with Hitting
|
|||
|
|
In command mode, Backspace is used to move cursor to left. If you want to use it as expected, use following command in command mode:
Add it in your |
|||
|
|
|
You can use the mapping Sachin Shekhar suggested or do it "the Vi way", but there is in my opinion a better way: The
Do |
|||
|
|
Esc + 4Xxwould do the same. If you give a sample of the text maybe we could see if there is a shorter way. – Raimondi Mar 4 '12 at 6:26