Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

1 Answer 1

up vote 0 down vote accepted

Try,

: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

Your Answer

 
discard

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