Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

If I'm in insert mode in Vim, and I press Control + W, it waits a moment, then deletes the previous word. If I start typing immediately after pressing it, it deletes the previous word instantly and replaces it with what I type.

In either case, the previous word is deleted and whatever I type next replaces it. So why the pause? Is there something else I can do at that point?


This is on MacVim 7.3 (55) on OSX Snow Leopard. I just logged into a server with a vanilla config and tried it, and the deletion is instant. So maybe it's something with my config?

share|improve this question
I can't reproduce the delay. What version of Vim and what operating system? – Mikel Mar 2 '11 at 20:22
@Mikel - updated question. – Nathan Long Mar 2 '11 at 20:33
up vote 4 down vote accepted

You might have a mapping that starts with Ctrl-W and that's why Vim waits for a while to see if you want to use it, check with :verbose imap <C-W>

share|improve this answer
Yep! This was in my .vimrc, which I intially got from a friend and have been tweaking since: imap <C-w><C-w> <esc><C-w><C-w> So he specifically mapped hitting "control + w" twice in insert mode to moving to the next window. – Nathan Long Mar 2 '11 at 21:43

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.