Quickzi: Replace all spaces with a dot in vim
Thursday, November 25th, 2010 at
8:30 am
Here’s a quick tip on how to replace all spaces with a dot in vim:
:%s/[ \t]/./
And here’s how to remove all trailing spaces at the end of each line:
:%s/\s\+$//
Have any more vim quick tips? Let’s hear them in the comments.
Popularity: 1% [?]
Like this post? Subscribe to my RSS feed and get loads more!













Leave a Reply