Hi, is the quickest way to go back and kill a word Esc
or Ctrl-[
and db
? I guess I mess up a lot :P and am used to using M-<backspace
or Ctrl-<backspace>
in other editors (or word processors). Still getting the hang of this (vim), but switching to normal-mode for short tasks like this one seems an odd way to go about it. Just wanted to inquire if there was anything better than what I was doing... Thanks much ~
views:
129answers:
3
+8
A:
In insert mode you can use CTRL-W to undo the most recently typed word.
JaredPar
2010-09-09 23:20:45
Just a note, it doesn't *undo* in relation to vim's undo/redo stack. It just deletes to the previous word-divide character. Typing it again will continue the deletion.
Caleb Huitt - cjhuitt
2010-09-10 19:14:56
+8
A:
Are you looking for <c-w>
in insert and command modes ? (like in unix shell command line) Or db
in normal mode?
Luc Hermitte
2010-09-09 23:21:40