Re: [Vim-latex-devel] shortcite

2012-07-09 Thread Ted Pavlic
> What about putting something like > > syn match texRefZone '\\shortcite\%(\*\=\)\=' > nextgroup=texRefOption,texCite > > into ~/.vim/after/syntax/tex.vim (or similar on mac)? That is by far the best solution. I didn't think syntax files were cumulative, and so I didn't suggest after.

Re: [Vim-latex-devel] shortcite

2012-07-09 Thread Gerd Wachsmuth
On 07/09/2012 09:25 AM, Ted Pavlic wrote: >>> for shortcite (and do something similar for your other options). >> >> I actually do not want to go this way. When tex.vim gets updated, I have >> to copy it over again, patch in my stuff again etc. Thus I hope for >> finding a way to do it locally as i

Re: [Vim-latex-devel] shortcite

2012-07-09 Thread Ted Pavlic
>> for shortcite (and do something similar for your other options). > > I actually do not want to go this way. When tex.vim gets updated, I have > to copy it over again, patch in my stuff again etc. Thus I hope for > finding a way to do it locally as in an extra file that extends the > already exi

Re: [Vim-latex-devel] shortcite

2012-07-08 Thread Ted Pavlic
Niels -- > I don't speak about F9. That doesn't really work for me. The application > (Papers2) I am using for creating my Bibtex-files doesn't seem to write > clean enough Bibtex for the plugin, but that's not that much of a > problem for me. Hm. I have a feeling that's not actually what

Re: [Vim-latex-devel] shortcite

2012-07-08 Thread Ted Pavlic
Niels -- What functionality are you speaking of in particular? For example, the F9 completion for citations will work in any macro that contains "cite" in it. So if you do \shortcite{ and then hit F9, you'll get the same completion window as you'd see from doing a simple \cite.