hello world

i try to remove 4 spaces in my file
so i type
:%s/\ \{4}//g

and it works


now i want to replace the tab with 4 spaces
:%s/ ^I / \ \{4} /g

but it cannot work

i just wonder why {n} work differently in both cases


thanks

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to