Latex-Suite utilizes a set of macros originally created by Carl Mueller in auctex.vim to make inserting all the \left ... \right stuff very easy and to also make some use of the heavily under-utilized <Alt> key.
By default, typing Alt-<key> in Vim takes focus to the menu bar if a menu with the hotkey <key> exists. If in your case, there are conflicts due to this behavior, you will need to set
set winaltkeys=no
in your $VIM/ftplugin/tex.vim in order to use these maps.
If for some reason, you wish to not map the <Alt> keys, (some European users need to use the <Alt> key to enter diacritics), you can change these maps to other keys as described in the section Customizing Alt-key maps.
This is a polymorphic insert-mode mapping which expands to one of the following depending on the character just before the cursor location.
Character before cursor | Expansion |
---|---|
( | \left( <++> \right) |
[ | \left[ <++> \right] |
| | \left| <++> \right| |
{ | \left\{ <++> \right\} |
< | \langle <++> \rangle |
q | \lefteqn{<++>}<++> |
If the character before the cursor is none of the above, then it will simply insert a \label{<++>}<++>.