Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

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

GVim for Windows overwrites a lot of useful vim commands, such as ctrl+A and ctrl+Y. Is there a way to get these commands back without writing a remap for each and every command?

share|improve this question
up vote 0 down vote accepted


:behave mswin 

And, if that works for you, look at this other answer at Stackoverflow.

Also see, Why does < C-a> (CTRL+A) not work under gvim on windows?

share|improve this answer
:behave mswin does not solve the problem (and seems to be supposed to do the opposite). Your first link doesn't seem to cover my issue. The second does; I fixed _vimrc according to it, and it works fine now. – user67194 Apr 16 '11 at 11:53

You must log in to answer this question.