CTRL-W Delete the word before the cursor

karl arvin almario 9 ár síðan updated by 7 ár síðan 2
this is one of my used commands in vim, this is very useful on the vintage mode for the vim power users  

*i_CTRL-W*CTRL-WDelete the word before the cursor (see |i_backspacing| aboutjoining lines).  See the section "word motions",|word-motions|, for the definition of a word.


You can do this yourself. In your user key bindings add:

{"keys": ["ctrl+w"], "command": "delete_word", "args": {"forward": false, "sub_words": true}}

Yes!  Thanks for removing a big annoyance!