10.1 Place-Holder Customization

10.1.1 g:Imap_UsePlaceHolders
10.1.2 g:Imap_PlaceHolderStart & g:Imap_PlaceHolderEnd
10.1.3 g:Imap_DeleteEmptyPlaceHolders
10.1.4 g:Imap_StickyPlaceHolders

Latex-Suite uses place-holders to minimize using the movement keys while typing. The following settings affect how place-holders are used.

Note

These setting need to be set in your ~/.vimrc, not $VIM/ftplugin/tex.vim because these settings affect the behavior of imaps.vim, which is a global plugin, not a file-type plugin.

10.1.1 g:Imap_UsePlaceHolders

TypeBoolean
Default Value1

Setting this to zero completeley disables using place-holders.

10.1.2 g:Imap_PlaceHolderStart & g:Imap_PlaceHolderEnd

SettingTypeValue
Imap_PlaceHolderStartString'<+'
Imap_PlaceHolderEndString'+>'

These settings affect the strings displayed at the beginning and end of the place-holder string. Set these strings to a value different than a commonly ocurring sequence of characters.

TIP

If you use the latin1 encoding and do not type in french, then you can set these strings to the \xab and \xbb characters (the french quotation marks).

10.1.3 g:Imap_DeleteEmptyPlaceHolders

TypeBoolean
Default Value1

When set to one, non-descriptive or empty place-holders are deleted on pressing <Ctrl-J>.

10.1.4 g:Imap_StickyPlaceHolders

TypeBoolean
Default Value1

When set to 1, in visual mode, <Ctrl-J> takes you to the next placeholder without deleting the current placeholder.