Vim Tips Wiki

Map Ctrl-Backspace to delete previous word

Revision as of 08:38, May 28, 2012 by Kanliot (Talk | contribs)

1,619pages on
this wiki
Tip 189 Printable Monobook Previous Next

created January 2, 2002 · complexity basic · author Robert Ames · version 5.7

Put this in your vimrc and then you'll be able to type Control-Backspace to delete the previous word.

" map control-backspace to delete the previous word
:imap <C-BS> <C-W>


See also


In my version of Linux, this works properly in gvim, but not in terminal-vim. --Kanliot 08:38, May 28, 2012 (UTC)

Around Wikia's network

Random Wiki