* Udo Hortian on Thursday, May 05, 2011 at 15:53:16 +0200
> I would like to use Latex-Suite with MacVim. In principal this works,
> but I have problems with the F9 completion. I have to say that I am
> using a MacBook Pro and F9 is by default mapped to an iTunes command.
> Fn+F9 is supposed to be the "real F9", but it works neither.
> 
> Being in insert-mode and having written "\ref{t", pressing Fn+F9 just
> prints "<F9>" after this, i.e. I obtain "\ref{a<F9>".
> 
> Interestingly Fn+F1 works (providing vim help) as well as Fn+F5 and
> Fn+F7 work. The other Fn+Fi keys just print <Fi> (only Fn+F8 and Fn+F10
> being some Mac OS related things).
> 
> Any ideas how to make the real F9 work? I guess this is more a Mac OS
> related problem, since the same happens in a terminal window for example
> (with vim opened or not). But maybe still someone here as an idea and a
> solution might possibly be helpful for other Latex-Suite users as well.

I have:

System Preferences -> Keyboard & Mouse -> Keyboard ->
Radio button: Use all F1, F2 etc. keys as standard function keys

which reverses the behaviour, so I combine with Fn to access the
default Mac bindings.

Perhaps check whether this behaviour reversal improves vim-latex.

I'm not familiar with MacVim (non-gui Vim in xterm here),
therefore I don't know whether MacVim is compiled with Python,
but this should not matter for \ref except for speed, apparently
it's only required for \label.

c
-- 
theatre - books - texts - movies
Black Trash Productions at home: http://www.blacktrash.org
Black Trash Productions on Facebook:
http://www.facebook.com/blacktrashproductions

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to