[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vim
Subject:    Re: gvim's bugreport
From:       "Antoine J. Mechelynck" <antoine.mechelynck () belgacom ! net>
Date:       2005-02-18 18:09:36
Message-ID: 42162F60.8040803 () belgacom ! net
[Download RAW message or body]

Piotr Konieczny wrote:
> Witaj Antoine!
> 
> Thanks for quick response!
> 
> ## 18 lutego 2005 o 17:18:51, dostalem od Ciebie:
> 
> 
>>I personally don't use the toolbar in gvim; as for the hyperlinks,
> 
> 
>       Me neither. But found this error by accident and thought you
> should know (I checked this feature in gvim form vim.org, and action
> under "?@-" icon worked fine).
> 
> 
>>I never had any problem following them with Ctrl-].
> 
> 
>         Working in X11 with Gentoo machine I also hadn't any problems
> with it. But, unfortunately I'm forced to using Windows' GUI for couple weeks...
> :/
> 
> 
>>Are you sure that your keyboard (Polish, maybe?) sends the right character
>>for Ctrl-] in the  Windows GUI mode?
>>You can check it in gvim: in Insert mode, press Ctrl-V
>>(or Ctrl-Q if you use Ctrl-V to paste) followed by what you think is
>>Ctrl-]; then in Normal mode, place the cursor on the character thus 
>>inserted and press ga -- you should see the alpha, hex, decimal and 
>>octal values at the bottom left of the gvim screen: what I see is
> 
> 
>>        <^]>  29,  Hex 1d,  Octal 035
> 
> 
>>If you see another value, then your key is not sending the Ctrl-] 
>>character. (Note: Console applications like vim.exe often see a 
>>different "code page" than do genuine "Windows" applications like 
>>gvim.exe: for instance cp850 in console mode but Windows-1252 in GUI mode.)
> 
> 
> And that's the problem!
> Thank you very, very much for this useful tip! Didn't know that.
> ^] was sending ^[ -- They got sense of humour ;-)
> ^: sends ^] and works with hiperlinks. It's really something wrong with this
> code page :|
> 
> 
>>If you don't know which key or key combination to use for Ctrl-] you can
>>always use a mapping, as follow:
> 
> 
>>        :map    <F12>   <C-]>
> 
> 
> I've tried this, and it works... but how to repleace my CTRL-] by
> valid CTR-] keycode?

If your Ctrl-] key sends a Ctrl-[ code (which is the same code as 
Escape) then you can't assign a mapping to it (or at least, you can't 
without losing Escape functionality, which IMO is undesirable).

> :map <C-]> <C-]> it's rather stupid idea :/
> Morover, when I'm pressing ^] in Normal mode after typing :map, cursor goes
> to file's area.
> 
> 
>>I'm sending a copy of this to Bram and to the Vim list, just in case.
>>I'm not particularly a Vim guru, just a plain user who happens to
>>compile a strictly standard (but bugfixed) version of (g)vim(d) for W32
>>and to make it available to everyone.
> 
> 
> Yeah, thanks anyway ;-)
> You've done a great job. Without it I wasn't able to use polish
> national letters with gvim.
> 
> And, one more time, sorry for bothering you :-)

No problem.
> 
> Take care,
> Piotr.

Best regards,
Tony.

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic