Abhijit Gavali wrote: > In my files I have used tabs. And I want to replace the tabs > with spaces by search and replace ?
Answering literally, you could do this: :%s/\t/ /g which would replace each tab with four spaces. However, you probably do NOT want to do that. Instead, you want to replace each tab with the _appropriate_ number of spaces. :set expandtab :retab :help :retab John --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
