On Tue, 9 May 2006, Yakov Lerner wrote:
On 5/9/06, Robin Becker <[EMAIL PROTECTED]> wrote:
I am trying out Vim 7.0 and see a major difference in the way my old
mappings
work. I have for many years mapped g to G so I can use the lower case g to
jump
around the file instead of shift+g.
Under 6.4 and earlier that works well, but with vim 7 I see a big delay
between
hitting the g key and the jump to the bottom of the file. Same if I type
1g. It
seems as though the mapping is not happening immediately (I assume to allow
for
a follow up character to be recognized). Is there any way to fix this or is
it a
permanent feature?
In 6.4 even though there are similar possibilities for g as a start
character I
don't see this delay.
I confirm it, partially. Both ':map g G' and ':norwmap g G' makes
g slow with my ~/.vimrc. But with 'vim -u NONE', it's fast (immediate).
Can you try it yourself with 'vim -u NONE' ?
You need to find out which setting makes the change
from fast to slow.
Yakov
For Vim 7.0f, :map g produces
n gx <Plug>NetrwBrowseX
That may be what's causing Vim to wait for the next keystroke on "g".
--
Gerald