LoginSignup
176
137

More than 5 years have passed since last update.

vimで指定した文字列が(有る or 無い) 行を削除する

Posted at

abc を含む行を削除する

:g/abc/d

abc を含まない行を削除する

:v/abc/d
176
137
3

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
176
137