25
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

vimで複数行のインデントを連続で行う

Last updated at Posted at 2016-05-26

anime_compress.gif

$ vim
<i>1111<ESC><y><y><p><p><k><k><shift+v><j><j><>><.>
  • shift+vでビジュアルモードで複数行選択 ← 複数行の
  • >でインデントする ← インデント
  • .で直前の動作を繰り返す ← 連続で行う

参考

vimでの複数行インデント修正 - Qiita
http://qiita.com/yotasasaki/items/dde3ab7efa0185c70fb9

Vim初心者がVimを使って次のステップに行くのに役立つ10のこと - Qiita
http://qiita.com/ykyk1218/items/8f5471c5e90cc83fd407

vi・vim勉強中。 - vim 直前の動作を繰り返す
http://www.webhtm.net/vim/repetition.htm

Macでキャプチャして作ったGifアニメーションをQiita記事に貼り付ける方法 - Qiita
http://qiita.com/ryosukes/items/b5dd0fac1a059caffbf0

【レビュー】デスクトップを動画キャプチャーしてアニメーションGIFファイルにする「GifCam」 - 窓の杜
http://www.forest.impress.co.jp/docs/review/20131001_617499.html

25
12
1

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
25
12

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?