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?

viコマンドをもっと使えるようになりたい

Posted at

はじめに

Linux初心者で、viコマンドの存在やi(インサート)、上書き保存や終了方法などの基礎中の基礎はわかったのですが、もっと便利な操作を少しずつ覚えていくためのメモです
時々気が向いたら追記していきます

入力

a

カーソルの後ろから入力開始

o

カーソルの下に一行追加し入力開始

移動

hjkl

左下上右

^ / $

行頭 / 末尾

gg / G

先頭 / 末尾

編集

x

一文字削

dd

一行削除

yy

一行コピー

p

貼り付け

u

元に戻す

検索

/ + 検索ワード

n / N : 下方向に検索 / 上方向に検索

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?