Think Aloud !!!
A blog to collect all the useful internet VLSI resources.
Thursday, November 5, 2009
Replace more than 2 spaces by newline in Vim
:%s/ \s*/^M/gc
To get ^M, press ^Q and ^M in vim. i.e. Press visual block key followed by ctrl m.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Contributors
Ambu
Murali
Vasanth
venki
Followers
Blog Archive
►
2011
(1)
►
August
(1)
►
2010
(3)
►
May
(2)
►
March
(1)
▼
2009
(17)
►
December
(3)
▼
November
(2)
An useful way to avoid Zero simulation time warnin...
Replace more than 2 spaces by newline in Vim
►
October
(3)
►
September
(1)
►
March
(7)
►
February
(1)
No comments:
Post a Comment