LoginSignup
134

More than 5 years have passed since last update.

posted at

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

abc を含む行を削除する

:g/abc/d

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

:v/abc/d

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
What you can do with signing up
134