logo       

Re: [Fwd: Ctrl-^]: msg#00082

editors.vim.mac

Subject: Re: [Fwd: Ctrl-^]

Hi,

Many years ago, when I was the maintainer of the Win32 ports of Vim, I made Vim accept Ctrl-6 as a synonym for Ctrl-^ (Ctrl+Shift+6 on US keyboards). This behavior must have been propagated into the gtk version of gvim at some point. Now it's deep in my muscle memory and I get frustrated at having to type ":b #" or ":e #" instead.

the attached patch converts Ctrl-6 to Ctrl-HAT and Ctrl-2 to Ctrl-AT (this is done in most other guis as well). With it, Ctrl-V Ctrl-6 at least outputs ^^, which seems sensible. Can you try if this patch does what you want?

Bye,
Nico

ps: The list probably strips the patch (why oh why does it always do this?), so I've also uploaded it to http://wiki.macvim.org/wiki/ VimPatches/Ctrl6 if someone else wants to test it.


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise