使用Ctrl-O跳转/我在Vim中不起作用

问题描述:

我在Windows XP上使用GVim 7.2.在我的安装中,某些跳转命令无效,例如 + O Ctrl + I ,而:jump Ctrl + T 起作用.

I use GVim 7.2 on Windows XP. In my installation some of the jump commands don't work, such as +O and Ctrl+I, whereas :jump and Ctrl+T work.

这可能是什么原因?我检查了_vimrc文件中是否存在<C-o>的重新映射,但是似乎没有任何重新映射.我应该在哪里寻找这个问题的原因?

What might be the reason for this? I checked my _vimrc file for a remapping of <C-o> but there doesn't seem to be any remapping. Where should I look into to find the reason of this problem?

要在Windows上获得更多类似Unix的vim行为,您需要从C:\Program files\Vim\_vimrc文件中注释掉以下几行:

To get more unix-like behaviour of vim on Windows you need comment out these lines from C:\Program files\Vim\_vimrc file:

source $VIMRUNTIME/mswin.vim 
behave mswin

CTRL-O应该在vim重新启动后开始工作.

CTRL-O should start working after restart of vim.