0
0

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 2020-01-21

vim の操作

ノーマルモード

| キーボード操作 | 機能 |
|----------------+---------------------------------------------|
| j | 下にカーソルを移動 |
| k | 上にカーソルを移動 |
| h | 左にカーソルを移動 |
| l | 右にカーソルを移動 |
| dd | 一列削除(カットでもある) |
| dw | 単語を削除 |
| yy | 一列コピー |
| p | dd や yy でカットやコピーした列を張り付ける |
| gg | ファイルの一番上に移動する |
| G(shift + g) | ファイルの一番下に移動する |
| x | 一文字削除 |

挿入モード(入力)

| キーボード操作 | 機能 |
|----------------+----------------------------|
| i | ヴィジュアルモードへ移行 |
| ESC | ヴィジュアルモードを抜ける |
| o | 現在の文字列の下の列に挿入モードで移動する |
| a | 現在位置の直後に挿入モードで移動する |
| Shift + i | 現在の列のトップに挿入モードで移動する |

0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?