Thanks for the quick response. In Leopard (and new aluminum keyboards) F9 is
associated with the iTunes "forward" button, and F3 with exposé. To have a
"real F9" I have to do fn+F9 which is still reserved for exposé (grrrr). I
have no choice, I believe.
imap buffer <F1> <Plug>Tex_Completion
doesn't work because F1 is mapped to the brightness of the display and if I
type fn+F1 (the "real F1") MacVim prompts the help (hence, I suppose, F1 is
for the help).
I have F13 free on my aluminum keyboard. Anyway if I try
imap buffer <F13> <Plug>Tex_Completion
then, when I try to complete a "\ref{fig:" field, I obtain the characters
<F13> on the screen.
Thanks
Daniele
On Tue, Apr 8, 2008 at 12:13 PM, Christian Ebert <[EMAIL PROTECTED]> wrote:
> * Daniele Avitabile on Tuesday, April 08, 2008 at 09:02:07 +0100
> > I'm using Vim-LaTeX and MacVim under Leopard. Unfortunately, F9 on this
> OS
> > has been reserved already for exposé. Any idea how to map another key,
> say
> > F1, to do the same?
>
> try:
>
> imap buffer <F1> <Plug>Tex_Completion
>
> in ~/.vim/ftplugin/tex.vim (untested).
>
> But first you might want think about your working practices:
>
> Can't you press fn-F9, "fn" being the "function" key probably on
> the very left of your keyboard?
>
> And, if Leopard is not completely different to Tiger, you can go
> to System Preferences->Keyboard & Mouse->Keyboard and tick the
> "Use all F1, F2, etc. keys [...]" to get the standared behaviour
> within Vim (and other non-Mac progs for that matter). This
> reverses the behaviour of the "fn" key, that is, for exposé you
> now have to press fn-F9. Depends on your use habits.
>
> c
> --
> _B A U S T E L L E N_ lesen! --->> <
> http://www.blacktrash.org/baustellen.html>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Vim-latex-devel mailing list
> Vim-latex-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/vim-latex-devel
>
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Register now and save $200. Hurry, offer ends at 11:59 p.m.,
Monday, April 7! Use priority code J8TLD2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel