|phrakture||PS vimperator is awesome|
|JarJarBinks||hmm, so z is not the leader in the z= command used with spell for example, (can there only be one leader, or is a leader just a key that starts a command which is a sequence of many chars )|
(forgot to read :he mapleader... gonna do that now)
|tuxtoti||how do u make vim to detect php scripts ?|
|Zathrus||it does automatically if they have the proper extension.|
|jamessan||and you've enable filetype detection|
|tuxtoti||Zathrus: I have the proper extension but i dont get the diff colouring ...for diff keywords...|
jamessan: how do you do that?
|Zathrus||tuxtoti: :filetype on in your .vimrc (you may want filetype plugin indent on -- :he :filetype)|
tuxtoti: most likely you don't have syntax enabled.
|Zathrus||tuxtoti: what does :set ft? say? and if it says php, then try :syntax on|
if that doesn't work, then do :version and see if you have +syntax
|tuxtoti||Zathrus: :syntax on worked....|
Zathrus: actually im on a shell account ..and i dont see any .vimrc file in my home dir ... how do i find which vimrc its currently using?
|Zathrus||tuxtoti: then put that in your .vimrc as well.|
tuxtoti: :scriptnames -- but the most likely answer is, "it's not using one"
just edit ~/.vimrc and put the lines in there. THey'll be loaded next time you start vim
|tuxtoti||Zathrus: oh fine then...|
i'm seeing ^M characters end of each line from svn files... is it possible to hide them? i don't want to see this chars...
|Zathrus||integer: see the FAQ in the topic|
|jamessan||it'd be better to fix the files. that sounds like there are inconsistent line endings|
(and Zathrus' hint will tell you how to fix that)
|Zathrus||jamessan: in a version controlled file? No! Never! Heh.|
really, the repo should be setup properly to stop that.
|jamessan||really, unix file format should be the One True File Format|
|Zathrus||jamessan: well, yeah.... but that holds true for so many things...|
|Nyoxi||life would be too easy than|
|integer||Zathrus, thank you|
i solved my problem
|daveBSD||why does :com Wq :wq<CR> not work?|
|Nyoxi||remove the <cr>|
and the colon is redundant too (but won't do any harm)