I'm using the Classic Thesis Latex template which provides the Chapters in a separate folder in relation to the 'root' file and the .bib file. When editing the chapters in Vim I would like to use the completion feature for references but as the .bib file sits in the folder below in relation to the file I'm editing, vim is not able to locate it. So I was wondering how I could get it to pick up the references from the .bib located at a lower level than the current folder?


It seems like the option you need to set is Tex_BIBINPUTS. If you have modelines enabled, you can probably add a modeline in the specific files of your thesis to setup this variable, or you can set it in your .vimrc :

let g:Tex_BIBINPUTS="path/to/bibfolder/"

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.