0
1

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 でcopy and pastする[備忘録][vim]

Last updated at Posted at 2019-10-29

dd -> p ぐらいしか使ってなかったが、1行単位ではなく、もっと細かくコピーしたい
そのためにvimでの色々な削除の仕方を調べたのでメモ。

参考 https://qiita.com/FBH9999/items/a8ec99bed08592a9d69a

削除

x 一文字消す
X カーソルの左一文字の消去
dw カーソル位置から1単語を消去
de カーソル位置の単語の最後まで削除 便利!
diw カーソル位置にある単語を1単語を消去
df<文字> カーソル位置から<文字>の位置まで削除 便利!
d^ カーソルから左を削除
d$ カーソルから右を削除

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

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?