Chuck Tuffli wrote:
I found the tutorial on using cscope with vim and am having trouble
with the split screen commands. The Ctrl-\ variants map correctly to
their cscope equivalents but Ctrl-Space just advances the cursor one
position and performs the command associated with the letter (i.e.
instead of Ctrl-Space,s opening a window with all references to the
symbol, it advances the cursor one position to the right and starts a
s[ubstitute]). Has anyone seen this problem before?
OS: Ubuntu Linux 6.06.1
VIM - Vi IMproved 6.4
cscope_maps.vim : dated 2002/3/7
cscope: version 16.0a
Thanks!
---chuck
There was a thread about this yesterday. Control-Space is not portably
mappable. Ctrl + printable key is defined when locase("printable_key") is in
the range 0x3F..0x5F (and it that case the result is locase(printable_key) xor
0x40). Ctrl + other printable keys is not defined: Vim may see it or not, or
see it as something else. In SuSE 9.3 + kde, my gvim sees Ctrl-Space as just a
plain space, and it looks like yours does too.
If Ctrl-Space dosen't work for you in the {lhs} of mappings, use something
else, such as <F9> instead of <C-Space> and <S-F9> instead of <C-Space><C-Space>
Best regards,
Tony.