#vim - Wed 18 Apr 2007 between 02:23 and 12:54

NY Lost Funds



phrakturePS vimperator is awesome
EucalP-what?
jamessan:he mapleader
JarJarBinkshmm, 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)
tuxtotihow do u make vim to detect php scripts ?
Zathrusit does automatically if they have the proper extension.
jamessanand you've enable filetype detection
tuxtotiZathrus: I have the proper extension but i dont get the diff colouring ...for diff keywords...
jamessan: how do you do that?
Zathrustuxtoti: :filetype on in your .vimrc (you may want filetype plugin indent on -- :he :filetype)
tuxtoti: most likely you don't have syntax enabled.
tuxtotiZathrus: ah...ok
Zathrustuxtoti: 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
tuxtotiZathrus: :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?
Zathrustuxtoti: 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
tuxtotiZathrus: oh fine then...
integerhi there
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...
Zathrusinteger: see the FAQ in the topic
jamessanit'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)
Zathrusjamessan: in a version controlled file? No! Never! Heh.
really, the repo should be setup properly to stop that.
jamessanreally, unix file format should be the One True File Format
;)
Zathrusjamessan: well, yeah.... but that holds true for so many things...
Nyoxilife would be too easy than
then
whatever
integerZathrus, thank you
i solved my problem
daveBSDwhy does :com Wq :wq<CR> not work?
Nyoxiremove the <cr>
and the colon is redundant too (but won't do any harm)
daveBSDok

Page: 2 9 16 23 

IrcArchive

NY Lost Funds