LoginSignup
21
16

More than 5 years have passed since last update.

vimで改行に置換する時

Last updated at Posted at 2015-11-03

メモ: 改行へ置換する

改行に置換する時コマンド
右側のCtrl+v returnを押すと、^Mを生成できる。
検索の左は、\nと普通に入力すればいい。

vim.
:%s/\n\n/^M/
21
16
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
21
16