11.5 Latex Completion Customization

11.5.1 Window size settings
11.5.2 g:Tex_BIBINPUTS
11.5.3 Tex_UseSimpleLabelSearch
11.5.4 g:Tex_ProjectSourceFiles
11.5.5 g:Tex_RememberCiteSearch

The following settings affect the completion functionality in Latex-Suite.

11.5.1 Window size settings

These three settings affect the aesthetics of the completion functionality.

SettingExplanationDefault Value
g:Tex_ViewerCwindowHeightThe height of the cwindow which displays the list of \labels etc.5
g:Tex_ViewerPreviewHeightThe height of the preview window which shows the context of a \label etc.10
g:Tex_ExplorerHeightThe height of the explorer window which lists the files from which to choose an image file.10
g:Tex_ImageDirThe directory to scan for images''

11.5.2 g:Tex_BIBINPUTS

Typestring
Default Value''

This string describes the directories which are scanned while trying to search for .bib and .bbl files. See the cite completion section for more details.

This string should be set in the syntax accepted by Vim's native 'path' setting. Do not include the present directory '.'. While searching for bibliography files, the present directory will be prepended to this variable.

11.5.3 Tex_UseSimpleLabelSearch

When set to 1, Latex-Suite searches for \labels in all .tex files in the directory containing the file being edited when <F9> is pressed. See \ref completion for details.

11.5.4 g:Tex_ProjectSourceFiles

TypeString
Default Value''

This setting is meant to be initialized on a per-project basis using the Latex-Suite master file as described in Latex-Suite Project section. It is a list of source files which are used in the project. If defined, then instead of using the logic described in Tex_UseSimpleLabelSearch to search for files in which to search for \labels, we simply search for \labels in this list. This significantly reduces the time it takes to generate the list of possible completions for large projects.

The list is specified as a whitespace separated list of filenames relative to the location of the main file.

11.5.5 g:Tex_RememberCiteSearch

TypeBoolean
Default Value0

When this variable is non-zero, then Latex-Suite will try to remember results from the \cite completion as described in this section.