Skip to main content
3 of 5
code highlight, adding tags
Volker Siegel
  • 17.8k
  • 6
  • 56
  • 81

How can I replace ^I into tab spaces in vim editor for .java file?

When I open my .java file at vim, I could see couple of lines prefixed with one/more ^I character. It looks tabs in Eclipse has got converted into ^I. I would like to replace single ^I into spaces with 4 character. E.g

^I^I^I^IList<History> rulePackagesHistory = result.getHistory();

How can do that in vim editor?