knowledge-database (beta)

Current group: comp.editors

Vim/Cscope Ctrl-spacebar and imap ...

Vim/Cscope Ctrl-spacebar and imap ...  
Ahn Ki-yung
 Re: Vim/Cscope Ctrl-spacebar and imap ...  
Stephane CHAZELAS
 Re: Vim/Cscope Ctrl-spacebar and imap ...  
Ahn Ki-yung
From:Ahn Ki-yung
Subject:Vim/Cscope Ctrl-spacebar and imap ...
Date:Tue, 18 Jan 2005 15:24:10 +0900
According to the comments of cscope_maps.vim file from the cscope.sf.net

" 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.

However on my linux box (debian sarge) Vim 6.3.46 Ctrl-space
is not being interpreted as Ctrl-@ at all. I should type Ctrl-@
(or Ctrl-2) to do horizontle split searching. How did other
Vim/Cscope users here handled this problem?
From:Stephane CHAZELAS
Subject:Re: Vim/Cscope Ctrl-spacebar and imap ...
Date:Tue, 18 Jan 2005 09:42:15 +0000
2005-01-18, 15:24(+09), Ahn Ki-yung:
> According to the comments of cscope_maps.vim file from the cscope.sf.net
>
> " 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.
>
> However on my linux box (debian sarge) Vim 6.3.46 Ctrl-space
> is not being interpreted as Ctrl-@ at all. I should type Ctrl-@
> (or Ctrl-2) to do horizontle split searching. How did other
> Vim/Cscope users here handled this problem?

??? Which terminal wouldn't send a ^@ (NUL) character upon
pressing ? I've never come across any on Linux.

--
Stéphane
From:Ahn Ki-yung
Subject:Re: Vim/Cscope Ctrl-spacebar and imap ...
Date:Wed, 19 Jan 2005 08:06:18 +0900
Stephane CHAZELAS wrote:
>
> ??? Which terminal wouldn't send a ^@ (NUL) character upon
> pressing ? I've never come across any on Linux.
>

From the text or X console it works.
But from VNC (tightvnc client) and some terminals includig putty
the Ctrl-Space does not translate into ^@. In case of individual
terminal program, I could try key remapping. It seems that VNC
clients usually do not send Ctrl keys directly.

Anyway, thanks for your reply.
It reminded me where the problem came from.

--
Ahn Ki-yung
http://bawi.org/~kyagrd/
   

Copyright © 2006 knowledge-database   -   All rights reserved