Stuff
Wednesday, January 07, 2009
Vim search and replace, with increment
:let i=1 | g/foo/s//\=i."morestuff"/ | let i=i+1
Newer Posts
Older Posts
Home
Subscribe to:
Posts (Atom)
Pyjamas
Blog Archive
►
2012
(1)
►
November
(1)
►
2011
(1)
►
October
(1)
►
2010
(1)
►
February
(1)
▼
2009
(15)
►
December
(1)
►
November
(2)
►
October
(1)
►
September
(2)
►
August
(3)
►
July
(2)
►
June
(1)
►
March
(2)
▼
January
(1)
Vim search and replace, with increment
►
2008
(20)
►
October
(4)
►
September
(2)
►
August
(1)
►
July
(4)
►
June
(1)
►
May
(2)
►
April
(3)
►
March
(3)
►
2007
(7)
►
November
(1)
►
October
(1)
►
August
(1)
►
July
(2)
►
June
(2)
►
2006
(2)
►
December
(1)
►
August
(1)
About Me
Greg
View my complete profile