You can %s/>/>/g This way, undo is not necessary 2008/11/20 Roberto Miura Honji <[EMAIL PROTECTED]>
> One way, not right way, is: > %s/>//g > > This tell you how many substitution was done. (how many '>' have in your > file) > > after > :undo > > 2008/11/20 Peng Yu <[EMAIL PROTECTED]> > > >> Hi, >> >> Suppose I want search how many '>' is in a file. Is there an easy way >> to do it in vim? >> >> Thanks, >> Peng >> >> >> > > > -- > ---------------------------------------------- > Roberto Miura Honji > LAS - Laboratório de Administração e Segurança de Sistemas > Engenharia de Computação - 2006 > Instituto de Computação - UNICAMP > > email: [EMAIL PROTECTED] (principal) > email: [EMAIL PROTECTED] > msn: [EMAIL PROTECTED] > ------------------------------------------- > -- ---------------------------------------------- Roberto Miura Honji LAS - Laboratório de Administração e Segurança de Sistemas Engenharia de Computação - 2006 Instituto de Computação - UNICAMP email: [EMAIL PROTECTED] (principal) email: [EMAIL PROTECTED] msn: [EMAIL PROTECTED] ------------------------------------------- --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
