Re: less mit syntax highlighting?
* Juergen Salk schrieb:
[:help produziert Fehlermeldung]
> 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
Es war dann doch einfacher: Ich hatte in ~/.vimrc weiter unten noch ein
set helpfile=$VIMRUNTIME/doc/help.txt.gz
stehen, sodaß dieser Eintrag mit dem oberen
set helpfile=/usr/share/vim/vim63/doc/help.txt
konfligierte. Nach Löschen von ersterem war der Fehler dann verschwunden.
Das eigentliche Problem habe ich durch
alias less='/usr/share/vim/vim63/macros/less.sh'
in der ~/.bashrc gelöst, oder »macht man« das eleganter?
Gruß,
Meinolf
--
GPG KeyID: 0x48754778
Reply to: