### 11.5 Latex Completion Customization

11.5.1 Window size settings
11.5.2 g:Tex_BIBINPUTS
11.5.3 Tex_UseOutlineCompletion
11.5.4 Tex_UseSimpleLabelSearch
11.5.5 g:Tex_ProjectSourceFiles
11.5.6 Tex_UseCiteCompletionVer2
11.5.7 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

 Type string 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_UseOutlineCompletion

When set to 1 (default), Latex-Suite searches for \labels in all .tex files of your project, starting with the main file when <F9> is pressed. See \ref completion for details.

#### 11.5.4 Tex_UseSimpleLabelSearch

When set to 1 and if Tex_UseOutlineCompletion is 0, 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.5 g:Tex_ProjectSourceFiles

 Type String 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.6 Tex_UseCiteCompletionVer2

When set to 1 (default), Latex-Suite uses python to parse your bib-file. See \cite completion for details.

#### 11.5.7 g:Tex_RememberCiteSearch

 Type Boolean Default Value 0

When this variable is non-zero, then Latex-Suite will try to remember results from the \cite completion. This is only used if Tex_UseCiteCompletionVer2 is set to 0.