On Thu, Oct 15, 2009 at 08:44:45AM -0700, mszargar wrote:
>
> Hi,
>
> I use Vim as my Latex editor, due to its no-clutter, no-hassle,
> minimal interface that lets me concentrate on what I write. I have
> configured the Latex extension correctly in a way that pressing <F9>
> on a \ref{} or \cite{} command brings up the citation completion
> window with a list of references in my .bib file. The only problem is
> that I don't know how to select one or more references and let the
> editor finish the completion task. I just press F9 and get a list, and
> then either I have to copy and paste or retype the found bibkeys.
> Pressing Return or F9 doesn't do anything. I couldn't find any
> information in Latex package help. I guess it is something obvious and
> everybody knows it, but around me noone uses Vim. Any idea how it
> works?
>
> Mah
When I use the vim-latex <F9> mapping to complete a reference, it
brings up a new window with a buffer named _OUTLINE_ with all of the
listings. I just press enter on the reference I want in this window
and it completes it in the latex file.
When I run ':verbose map' in the _OUTLINE_ window I get this for the
mapping of <CR>
n <CR> *@:cd /home/mvisser<CR>:call Tex_FinishOutlineCompletion()<CR>
Last set from ~/.vim/ftplugin/latex-suite/texviewer.vim
If pressing enter isn't working in the _OUTLINE_ buffer, maybe
something happened to modify that mapping. Otherwise just pressing
enter on the entry you want will complete the reference.
HTH,
Matthew
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---