タグ

関連タグで絞り込む (0)

  • 関連タグはありません

タグの絞り込みを解除

ackに関するukitazumeのブックマーク (1)

  • How to do search & replace with ack in vim?

    I am using the Ack plugin in Vim, which helps me to quickly search for strings in my project. However, sometimes I want to replace all or some occurrences of the found strings. You can do some kind of global search and replace using the Vim arglist like this (source) : :args app/views/*/* :argdo %s/, :expire.*)/)/ge | update But instead of using args, I would prefer to do a search via Ack and then

    How to do search & replace with ack in vim?
    ukitazume
    ukitazume 2012/08/07
    ack -l 'pattern' | xargs perl -pi -E 's/pattern/replacement/g'
  • 1