Hi Vim-developers,

REF: http://cscope.sourceforge.net/cscope_maps.vim

<snip>
    " 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>     
</snip>

In gvim pressing <C-@> is not interpreted as spacebar. It is treated as
'w'.

Is it a bug?

~Vishnu

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Søren Hornstrup
Sent: Friday, September 28, 2007 5:44 PM
To: [EMAIL PROTECTED]
Subject: Re: cscope_maps.vim (or cscope_macros.vim) don't work in gvim


Using :map I can see the mappings both in vim and vim -g

The maps starts with <C-@> (as controle spacebar),
using that in vim -g works as w jumbing from word to word!

Søren



--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui