Re: CTRL+gf new tab position

2007-04-12 Thread A.J.Mechelynck
Dave Land wrote: [...] Oddly enough, this mapping also takes over plain old control-g, which is fine for me. [...] There's nothing odd to that: in cooked input mode (as used by Vim), Ctrl-G and Ctrl-g both (by design) map to the BEL character, 0x07. This applies to any Ctrl+letter

CTRL+gf new tab position

2007-04-10 Thread Ralf Schmitt
Hi, I often use CTRL-gf to open the word under cursor in a new tab page. This opens a new tab for the file at tab pos 0. Is it possible to control at which position CTRL-gf opens the new tab? I tried it with an autocommand on event TabEnter but that also triggers when I change into a already

Re: CTRL+gf new tab position

2007-04-10 Thread Dave Land
Ralf, I use shift-control-g to open the file under the cursor in a new tab, placing the new tab at the end of the tablist thusly: map silent C-S-G C-Wgf:tabm 999CR Oddly enough, this mapping also takes over plain old control-g, which is fine for me. When I'm editing JSP files that have lots