I'm moving my workflow from LaTeX to Asciidoc + Asciidoc-bib. I would like to have the vim-latex reference autocompletion working for non-.tex
files, in my case for .txt files. So when I add some clues to \cite{}
and do control-x control-o it shows me the available citations for some BibTeX file.
The only way I can think of doing this is by extracting the functions from the vim-latex suite and creating a new script, unfortunately my knowledge of vimscript is not great.
I've read about doing:
:set filetype=tex
but I'm afraid I will import all of vim-latex behaviour which I would like to avoid. Maybe if there is a way to disable (almost) all of vim-latex except the \cite{
autocompletion it would be fine.
Best Answer
There is now a plugin to complete citation tags for asciidoc documents. vim-autocite