The reason why your i_ctrl-y is not working properly can be traced to $VIMRUNTIME\mswin.vim (lines 70-72):

" CTRL-Y is Redo (although not repeat); not in cmdline though
noremap <C-Y> <C-R>
inoremap <C-Y> <C-O><C-R>

I'd rather use i_CTRL-SHIFT-Z for that function, if I had to use it. Of course, just commenting out the following line in your "_vimrc" should make vim behave as you would expect normally (non-windows platforms) :
source $VIMRUNTIME/mswin.vim

Just add a " (inverted commas) to the beginning of the line to fix vim ;-)

Regards
Albie Janse van Rensburg

striker wrote:
I frequently use i_CTRL-Y on my *nix box to insert the character above. How can I make i_CTRL-Y work on Windows?
i_CTRL-E does however work.

TIA,
Kevin



Reply via email to