3
3

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.

vi 操作備忘録(vitutorより抜粋)

Posted at

前提知識

vi のキー操作でもカーソル移動( hjkl )、 保存、終了は知っている程度。
おまけ程度に検索とか文字削除くらいも知っていますが。

置き換え(上書き)

key description
r 一文字だけ上書き
R 挿入モード抜けるまで

カーソルジャンプ

key description
^ 行頭に移動
$ 行末に移動
w 空白含む単語の末尾
e 空白含まない単語の末尾
b 現在の単語の先頭に移動

画面の分割

key description
C-w v 垂直に分割する
C-w s 水平に分割する

画面の移動

key description
C-w w 順番に移動する

画面の削除

key description
C-w c アクティブな画面を閉じる
:clo[se] アクティブな画面を閉じる
C-w o アクティブな画面だけにする
:on[ly] アクティブな画面だけにする

画面のサイズ変更

key description
C-w = 画面を均等なサイズにする
C-w _ 画面の高さを最大化する
C-w 画面の幅を最大化する
3
3
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
3
3

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?