> Suppose I want search how many '>' is in a file. Is there an easy way > to do it in vim?
You can use the "n" flag to :s :%s/>//gn which you can learn more about at :help :s_flags :help count-items -tim --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
