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

Consider the following .vimrc configuration:

inoremap ' ''<left>
function! someFunc()
     inoremap ' '

Now, after someFunc() is run, pressing ' still waits the timeout time before moving the cursor. Can the original inoremap be cancelled rather than overwritten to remove the wait?


share|improve this question
I think you want to use iunmap '. – Thor Sep 5 '12 at 13:45
Thanks, Thor! Mention that as an answer so that I could accept it. – dotancohen Sep 5 '12 at 15:04
up vote 4 down vote accepted

Redefining won't work, unmap instead:

iunmap '
share|improve this answer

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.