Can';t使用CTRL-<;空间>;在gvim(windows)中使用Cscope插件

Can';t使用CTRL-<;空间>;在gvim(windows)中使用Cscope插件,windows,vim,cscope,Windows,Vim,Cscope,配置 Windows 7 Service Pack 1(64位) VIM 7.4(2013年8月10日),32位GUI版本 来自www.vim.org的cscope_macros.vim插件,版本2.0.0 问题 该插件使用“CTRL空格键”或将多个cscope find函数映射为水平或垂直拆分打开,因为VIM根据插件文档是这样识别它的。以下是该插件的一个片段: " Using 'CTRL-spacebar' (intepreted as CTRL-@ by vim) then a sear

配置

  • Windows 7 Service Pack 1(64位)
  • VIM 7.4(2013年8月10日),32位GUI版本
  • 来自www.vim.org的cscope_macros.vim插件,版本2.0.0
问题

该插件使用“CTRL空格键”或
将多个cscope find函数映射为水平或垂直拆分打开,因为VIM根据插件文档是这样识别它的。以下是该插件的一个片段:

" Using 'CTRL-spacebar' (intepreted as CTRL-@ by vim) then a search type
" makes the vim window split horizontally, with search result displayed in
" the new window.
"
" (Note: earlier versions of vim may not have the :scs command, but it
" can be simulated roughly via:
"    nmap <C-@>s <C-W><C-S> :cs find s <C-R>=expand("<cword>")<CR><CR>  

nmap <C-@>s :scs find s <C-R>=expand("<cword>")<CR><CR> 
nmap <C-@>g :scs find g <C-R>=expand("<cword>")<CR><CR> 
我唯一能找到的“CTRL空格键”/
:帮助索引
)是

但这不是我观察到的行为

当我尝试在插入模式下使用“CTRL空格键”时,所发生的只是在光标处插入了一个空格。当我在正常模式下使用它时,它似乎会将光标移动到下一个单词的开头,如果它为空,则移动到下一行


那么,如何在windows上的VIM中映射“CTRL空格键”?

在windows GVIM中,使用简单明了的
作为映射的左侧
或等效的
是(Linux)终端的一种解决方案,通常提供较少的可映射密钥。这些说明大概只是针对这一点。

啊!我想我已经试过了,但我用了小写字母“c”,但没用——Doh!
n   <nul>d        :scs find d <C-R>=expand("<cword>")<CR><CR><Tab>
n   <nul>i        :scs find i <C-R>=expand("<cfile>")<CR><CR><Tab>
n   <nul>f        :scs find f <C-R>=expand("<cfile>")<CR><CR><Tab>
n   <nul>e        :scs find e <C-R>=expand("<cword>")<CR><CR><Tab>
tag     char        action in Insert mode   ~
-----------------------------------------------------------------------
i_CTRL-@    CTRL-@      insert previously inserted text and stop
                        insert