vim㧠:grep ããã¨ãã« .svn ãé¤å¤ããæ¹æ³
vimã®ã³ãã³ãã« :grep ã¨ããã®ããã£ã¦ã§ãããgrepãããããçµæã®ãã¡ã¤ã«ãéãã¦ãããä¸ã«ãããããè¡ã«ã¿ã°ã¸ã£ã³ããã¦ããã¦ããã便å©ãªãã§ãã
ä¾ãã°Plaggerã®ã½ã¼ã¹ã§ use Plagger::Feed ãã¦ãã¨ããã¯ã©ãã ããªãã¨ãæã£ãã
:grep -r 'use Plagger::Feed' .
ã¨ãã§ããããã§ãã
ã§ãä¸ã¤åé¡ããã£ã¦ãsubversionã§ãªãã¸ã§ã³ç®¡çãã¦ãã½ã¼ã¹ã«å¯¾ãã¦âã¿ãã㪠:grep ãã㨠.svn 以ä¸ãæ¤ç´¢ãã¡ãã£ã¦ã¦ã¶ã¤è¨³ã§ãã
ä»ã¾ã§ã¯ :grep 'use Plagger::Feed' `find . -name "*.pm"` ã¨ããã¦éãã¦ãããã§ãã(:!find . -name "*.pm" | xargs grep 'use Plagger::Feed' ã ã¨ã¿ã°ã¸ã£ã³ããã¦ãããªãã®ã§ã)ããã«ãã¯ã¡ããã¨èªã¾ãªãããã¡ã§ããããã£ã¨ç°¡åã«ããæ¹æ³ãããã¾ããã(ãã«ãã®è¦æ¹ã¯ã:help grepãªã©ãªã©)
:vimgrep /use Plagger::Feed/ **/*.pm
ãã¼ã便å©ããããã«ããã¯Plaggerã§ã¯è§£æ±ºã§ããªãã§ããããï½