LoginSignup
2
2

More than 5 years have passed since last update.

vim備忘録

Last updated at Posted at 2016-04-09

vimのキーを忘れがちなので、こちらにメモっていく

モード変更

コマンド
i 入力モード
: コマンドモード
esc ノーマルモード
v 行末に移動

保存

コマンド
:w 入力モード
:w filename 保存する
:q ノーマルモード
:q! 強制終了
:e 新しいファイルを開く
:e hoge.txt hoge.txtを開く

移動系

コマンド
gg 行頭に移動
G 行末に移動
ctrl + f ページ単位での移動
ctrl + b 画面単位で移動
w 単語単位で前進
2
2
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
2
2