LoginSignup
0
0

Vimで綺麗に貼り付ける(indent)

Posted at

概要

Vimで貼り付けるときに、:a!を使ってもインデントが崩れてしまうことがあり、少し困った。

解決

:set pasteののち、iで挿入モードで貼り付ける。
(:set nopasteで元に戻る)

出典&謝辞

助かりました。
https://howpon.com/20579

0
0
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
0
0