This functionality available via the TeX-Suite.Macros menu, provides a way of inserting customized macros into the current file via the menu.
When Latex-Suite starts up, it scans the
$VIM/ftplugin/latex-suite/macros/
directory and
creates a menu from the files found there. Each file is considered as
a single macro. You can place your own macros in this directory,
using placeholders if wanted.
When you choose a macro from the menu, the corresponding file is read into the current buffer after the current cursor position. In non-gui mode, you can use the |TMacro| command instead of choosing from the menu. This command takes the macro file name as an argument. When called without arguments (preferred usage), then a list of available macro files is displayed and the user is prompted to choose one of them).
There are some other tools provided in this menu, namely:
{New} | Creates a new (unnamed) buffer in the latex-suite/macros/ directory. Use the command :TexMacroNew in non-gui mode. |
{Edit} | Opens up the corresponding macro file for editing. Use |:TexMacroEdit| in non-gui mode. When you try to edit {macro} not from local directory Latex-Suite will copy it to your local directory with suffix "-local". If local copy already exists Latex-Suite prompt for overwriting it. |
{Delete} | Deletes the corresponding macro. Use the prefixed numbers for fast navigation of menus. Use |:TexMacroDelete| in non-gui mode. When you choose to delete {macro} which is not in your local directory Latex-Suite will refuse to delete it. |
{Redraw} | Rescans the macros/ directories and refreshes the macros list. |