On Thu, Apr 25, 2002 at 01:00:04PM +0200, Martin A. Hansen wrote: | hi | | i cant get :help to work in vim. | | i get this error: | | "help.txt.gz" [readonly][noeol] 8L, 3051C | Error detected while processing BufRead Auto commands for "*.gz": | E21: Cannot make changes, 'modifiable' is off | E434: Can't find tag pattern | Hit ENTER or type command to continue | | how do i fix this? Old versions (<=5.8) of vim couldn't automatically handle .gz files. Wichert (the package maintainer) put a slew of neat autocommands in /etc/vimrc to recognize, and then transparently (de)compress the files. Current versions (>=6.0) of vim handle gzipped files automatically, and also set the 'nomodifiable' flag on help files. The nomod flag causes the old autocommands to fail. The vimrc in the new package doesn't have those autocommands. The solution : Edit /etc/vimrc and remove all gzip related autocommands. -D -- If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him. But when he asks he must believe and not doubt, because he who doubts is like a wave of the sea, blown and tossed by the wind. James 1:5-6 GnuPG key : http://dman.ddts.net/~dman/public_key.gpg
Attachment:
pgp7mzlR2boKW.pgp
Description: PGP signature