Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

4
  • it did not work me. Commented Aug 21, 2014 at 10:22
  • That is quite strange. I'm not sure if you used literal ^I or the one I explained in the answer Commented Aug 21, 2014 at 10:33
  • I guess command could be :%s /^I/[4spaces]/g Commented Aug 21, 2014 at 10:38
  • Well, yes if you want to replace the tab ^I with spaces then you indeed put spaces there as :%s /^I/ /g In your example(question) You've 4 ^I^I^I^I which indicate tabs. Commented Aug 21, 2014 at 10:50