1
2

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 3 years have passed since last update.

【超簡略版】vimのカーソル移動

Last updated at Posted at 2020-04-21

vimのカーソル移動の方法です。
自分がよく使いそうなものをピックアップしました。

Vim初心者なのでカーソル移動まとめてみた
viでのカーソル移動方法を一通りまとめました
こちらの記事にもっと詳しい情報が載っています。

操作見出し

基本操作

1文字ずつの移動です。

h j k l

単語ごと

w b e ge
単語の先頭 前の単語の先頭 単語の末尾 前の単語の末尾

行ごと

0 ^ $
行の先頭 空白を含まない行の先頭 行末
image4.png image5.png

ファイル単位

gg もしくは :1 G もしくは :$
ファイルの先頭 ファイルの末尾
1
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
1
2

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?