#vim - Sat 24 Mar 2007 between 00:29 and 01:42

NY Lost Funds



frogonwheelsTambu: you can temporarily set fileformats=unix
or you can :e ++enc=unix <filename>
Tambuchuckle, :) that just sets the file format.. I found the command in my vimrc file thats causing me not to see CTRL -M
frogonwheelsnope - note I said fileformats - with an s..
that sets the available fileformats it can choose from.
Tambuthe set nocompatible is causing me not to see ^M characters
frogonwheelsthat's 'cause it will be setting fileformats=dos,unix
or otherway round
try the :e ++enc=unix thing
argh wrong one.
:e ++ff=unix
actionfrogonwheels kicks himself into gear.
frogonwheelskicks himself into gear.
Tambuwoo woo
your set fileformats worked thanks man
frogonwheelsRemember then you will NEVER get it to auto-open as dos - which might be what you want.
Tambuexactly this is a unix server :)
frogonwheelsif you want particular ones only - then use the ++f= trick
TambuI always want to know if I have CTRL-M characters
what does e++ff=unix do differently
frogonwheelsthat's an option for :e that is one-time only.
Sounds like you should set the fileformats as you have done,
Tamburight yeah I see thanks great man thanks :)
frogonwheelsand then if you really want to open a file that somebody has sent you as dos -
you can :e ++ff=dos myfile.txt
++ff overrides the fileformat detection - just like ++enc overrides the fileencoding detection
kergothhmm, any idea why text in gvim on this box would redraw much slower than text in vim in a console?
concept10im editing a xml file and after every line, I see a ^M .. whats that?
thoratconcept10: those are carriege returns, this file was probably written by a windows program
concept10thorat, thats what I thought. Those bloody non-unix editing fools are trying to trick me
frogonwheelsconcept10: Did you sort out ^M (:help 'fileformat' :help ++ff :help 'fileformats' )
yetistin vim ,which function can upper the first letter of a word?
frogonwheelsyou talking about the word under the cursor - or regexp?
%s/\<\k\+\>/\u&/g
yetistlet a="abc", then I need: echo foo(a) will echo "Abc"
frogonwheelssubstitute(a, '.*','\u&','')
yetistthank you, frogonwheels.
frogonwheelsnp
yuriksanyone know why Vim is doing weird stuff?
I need to press ESC twice
x does nothing but instead freezes the term for several seconds, etc

Page: 2 9 16 

IrcArchive

NY Lost Funds