martedì 6 maggio 2008

Replacing Tabs with spaces and back in VIM

Not specifically R-related.
If you need to remove all the blank spaces from a file and replace them with tabs for easy importing in R, you can do it in VIM in no time. In normal mode type:

:set noexpandtab
:%retab!


The full story here

2 commenti:

  1. Thanks for sharing this tip.

    RispondiElimina
  2. You're welcome! I'm glad it is of some use to you!

    RispondiElimina