Re: Editing php files in vim

From: Date: Tue, 09 Jan 2001 14:23:13 +0000
Subject: Re: Editing php files in vim
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-33458@lists.php.net to get a copy of this message
Hi, I use syntax highlighting with all kinds of files on vim without problems. However, this doesn't work if you just installed vim. You also need vim runtime support (/usr/share/vim/... files). On debian you have to install both vim and vim-rt packages, while on redhat you need vim and vim-enhanced. Here is my .vimrc syntax on set cindent set cino=>2:2=2 inoremap { {<cr>}<esc>ko Anuradha On 7 Jan 2001, A Complete Luser wrote: > Hi there, > > I am using vim as my default editor for PHP files. The syntax > highlighting normally works, but quite often if I page down or SHIFT-G > to get to the end of a file, I lose all the highlighting and the text > is all plain white. > > Does anyone know of a solution to this, or have an alternative editor > that will preserve my syntax highlighting? > > Thanks, >

« previous php.general (#33458) next »