[Vim-latex-devel] Patch: avoid initial whitespace in bibtex key completion
Brought to you by:
srinathava,
tmaas
From: Cristian R. <cr...@li...> - 2007-05-18 08:19:15
|
Hi, I've noticed that if your *.bib files are formatted in the following way: @book{ key, ... } (i.e. with some spaces/tabs preceding the key) the F9 automatic \cite completion will insert the unwanted initial whitespace. The attached patch (against the current vimfiles/ftplugin/latex-suite/texviewer.vim in svn) will fix this problem (i.e. no spaces/tabs will be inserted). (usual disclaimer: it works for me, YMMV...) Cri -- GPG/PGP Key-Id 0x943A5F0E - http://www.linux.it/~cri/cri.asc Free software, free society - http://www.fsfeurope.org |