Saluton John :) On Fri 22 May 2009 09:15 +0200, John Beckett <[email protected]> dixit: > Mahendra Ladhe wrote: >> Repeat above process till buffer becomes empty. >> Can I club all these actions at vim command line? >> something like >> :s/one_word/another_word/g;w;bd [...] > To substitute in all buffers: > > :bufdo %s/one_word/another_word/g
Damn, I always forget about "bufdo" and do this kind of things using sed... Thanks for pointing, John :))) -- Raúl "DervishD" Núñez de Arenas Coronado Linux Registered User 88736 | http://www.dervishd.net It's my PC and I'll cry if I want to... RAmen! --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
