* 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

Reply via email to