here it's in this way: C:/Program Files/Vim and it contains vim70/ and vimfiles/
Oh, thanks, Gary! it worked!!! But I didn´t like it!!! when I changed C:/Program Files/Vim/vimfiles/ftplugin/php.vim it stoped 'autowriting' comments in new lines... but when I changed C:/Program Files/Vim/vimfiles/after/ftplugin/php.vim it worked perfectly... I didn´t undertand... why did it work? Gary Johnson wrote: > > On 2006-10-18, eric1235711 <[EMAIL PROTECTED]> wrote: > > First of all, don't alter any of the files that are in the > $VIMRUNTIME directory. For Vim-7.0 on Windows, this is commonly > > C:\Program Files\Vim\vim70 > > Doing so will cause you to lose those changes when you upgrade your > vim installation. > > The way to fix this problem is to create two new directories: > > $VIM\vimfiles\after > $VIM\vimfiles\after\ftplugin > > on Windows or > > ~/.vim/after > ~/.vim/after/ftplugin > > on Unix. Then create a new file in the after/ftplugin directory > named php.vim and put in it those commands that fix the problem, > e.g., > > setlocal nosta > setlocal noai > setlocal nosi > > Note the use of "setlocal" instead of "set". This will keep those > changes local to your PHP buffer(s) so that you can use other > settings in other buffers you might have open at the same time. > > See: > > :help ftplugin-overrule > :help ftplugin > > HTH, > Gary > > -- > Gary Johnson | Agilent Technologies > [EMAIL PROTECTED] | Wireless Division > | Spokane, Washington, USA > > -- View this message in context: http://www.nabble.com/Fighting-with-comments-tf2467964.html#a6896080 Sent from the Vim - General mailing list archive at Nabble.com.