Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh completion of just latex files



On Wed, 23 Jun 2004 08:59:30 +0100,  wrote:


>>
>>zstyle ':completion:*:*:vtex:*' file-patterns \
>>	'*.tex:tex-files' '*.toc:toc-files *.dvi:dvi-files' '%p:all-files'
>>
>>This means to first try to complete tex files, then (simultaneously, note
>>that the next two specs are both in the same string) toc or dvi files if
>>there are no tex, and finally all files.
>>
to be more specifc the above method didn't work for while the "old"
method from Sartoo worked just fine

compctl -g '*.tex*' + -g '*(-/)' {la,v}tex pdflatex

zzapper (vim, cygwin, wiki & zsh)
--

vim -c ":%s/^/WhfgTNabgureRIvzSUnpxre/|:%s/[R-T]/ /Ig|:normal ggVGg?"

http://www.vim.org/tips/tip.php?tip_id=305  Best of Vim Tips



Messages sorted by: Reverse Date, Date, Thread, Author