On Wed, Jun 15, 2011 at 01:36:10PM +0100, Stuart Henderson wrote:
> vim allows listing contents of a tar{.gz,bz2}/tgz/... file and
> is supposed to allow viewing of files internal to that tar.
> amongst other things, this is convenient for use with a mail
> client to read files inside a .tgz posted to ports@/etc.
> 
> the contents listing does currently works with /bin/tar
> however viewing internal files fails (you just get a blank
> screen) as this requires GNU tar options.
> 
> diff below changes tar.vim to use gtar; I haven't added it as
> a run dependency as I don't think it's required in the normal
> case, and the error message when it fails is perfectly clear
> (<***error*** (tar#Browse) "gtar" not available on your system)
> but could do so if preferred.

Fwiw, let g:tar_cmd="gtar" in .vimrc achieves the same, i've had it
since a good while, but fixing globally seems saner.

Landry

Reply via email to