[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: less mit syntax highlighting?



* Meinolf Sander <crap.1.f13@neverbox.com> [040910 14:13]:
> Da erhalte ich ein
> 
>     Sorry, help file "/usr/share/vim/vim63/doc/help.txt.gz" not found
> 
> . Auch "set helpfile=/usr/share/vim/vim63/doc/help.txt" in der .vimrc
> bzw. /etc/vim/vimrc wird ignoriert. Also wird hier nach einem
> komprimierten statt einem nichtkomprimierten File gesucht.
> Wie kann man das beheben?

:he gzip-helpfile

Hahahaha.



Na gut, will mal nicht so sein:

Compressing the help files                              *gzip-helpfile*

For those of you who are really short on disk space, you can compress the help
files and still be able to view them with Vim.  This makes accessing the help
files a bit slower and requires the "gzip" program.

(1) Compress all the help files: "gzip doc/*.txt".

(2) Edit "doc/tags" and change the ".txt" to ".txt.gz": >
        :%s=\(\t.*\.txt\)\t=\1.gz\t=

(3) Add this line to your vimrc: >
        set helpfile={dirname}/help.txt.gz

Where {dirname} is the directory where the help files are.  The |gzip| plugin
will take care of decompressing the files.
You must make sure that $VIMRUNTIME is set to where the other Vim files are,
when they are not in the same location as the compressed "doc" directory.  See
|$VIMRUNTIME|.

Vielleicht musst Du einfach Punkt (2) umkehren.

Beste Grüße - Jürgen

-- 
GPG A997BA7A | 87FC DA31 5F00 C885 0DC3  E28F BD0D 4B33 A997 BA7A

Attachment: signature.asc
Description: Digital signature


Reply to: