#vim - Wed 2 May 2007 between 08:18 and 10:03

NY Lost Funds



JarJarBinks|metahope you get the drift
forgot to put the new number in "a register again, "ayw
busconok
spiiphlet @a = 0 for the initial register value
:let even
JarJarBinks|metaok, buscon so let's do as spiiph say :let @a = 0
and then paste this :nmap <F12> /foo<CR>dw"ap<C-a>"aywq@w
:)
hope you don't have an important shortcut on F12
busconmmm, yes => spellcheck :)
JarJarBinks|metahehe
something else then
actionJarJarBinks|meta 's shortcut to spellcheck is :set spell
JarJarBinks|meta's shortcut to spellcheck is :set spell
I really have to work now... good luck buscon (might check up, if you got it working)
thanks for the tip spiiph
busconJarJarBinks|meta: ok, thank you :)
spiiph: thank you too
spiiphnp
busconspiiph: can I do smt like: s/foo/@a+1/g ?
blaa12321Is it possible to use ctags with html/css ?
spiiphbuscon, :he sub-replace-special
buscon, it might work with \=@a, but I'm not certain
Yeah, \=@a does it
But you will have to use . for string concatenation
So s/foo/\=@a . "1"/g
busconyea, it does :)
elshaahi
I'm looking for a way to insert a line above each lines containing "}" using the :%s/str1/str2/
I have :%s/\}/parents\}/
but how can I tell to put a new line between "parents" and "}" ?
iveqyelshaa: :%-s/\}/ normal o /g
elshaa: but I'm not shure...
frogonwheelselshaa: %s/\}/parents\r}/
elshaafrogonwheels: great ! Thanks. I was trying with \n unsuccessfully
blaa12321Anyone knows if it's possible to generate tag file for css/html ?
deadchiphow can i enable the scrolling mode where the current line is always in the centre of the terminal?
Nyoxideadchip: set 'scrolloff' to some large value
deadchipah thanks
icoHi all
is there a way to specify syntax highlighting on line numbers ?

Page: 2 9 16 

IrcArchive

NY Lost Funds