LoginSignup
1
1

More than 3 years have passed since last update.

Emacsでgrepした結果を一括置換

Last updated at Posted at 2019-02-20

半年に1回ぐらいやりたくなってその都度ググるので書いておく

  1. M-x grep(or rgrep) で対象をgrep
  2. eでwgrep-modeにする
  3. grepバッファを編集する
  4. C-c C-c (C-x C-s)でファイルに反映 ※もしくはwgrep-save-all-buffers実行

参考:http://emacs.rubikitch.com/wgrep/

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1