LoginSignup
0
1

More than 1 year has passed since last update.

【備忘録】忘れがちなvimコマンド チートシート

Posted at

作業時の確認用シートとして作成。
基本のコマンドを習得したい & パッと見で把握したいので必要最低限の情報だけ載せます。

移動

931px-KB_Terminal_ADM3A.svg.png

削除コマンド

やりたいこと コマンド
1文字(カーソル部分) x
1行 dd
行頭 / 行末まで d0 / d$
ページ頭 / 最後まで dgg / dG
1行削除後 インサートmodeに移行
(ノーマルモードで実行)
cc
ファイル内全て削除
(ノーマルモードで実行)
:%d

その他主要作業

やりたいこと コマンド
undo u
redo Ctrl + r
コピー yy
貼付け p
0
1
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
1