Neovimでレジスタ操作
Neovimでのレジスタ操作についてまとめる。 :register もしくは :reg で、一覧が表示される。 以下は出力結果のサンプル。 :reg Type Name Content l "" import React from "react" l "0 import React from "react" l "1 const count = 0 l "2 function increment() { return count + 1 } c "- ; c "a npm run dev c "* copied text c "+ copied text c ". bar c ": reg c "% projects/sample-app/src/main.tsx c "# projects/sample-app/package.json c "/ increment Type レジスタの種類を表す。 l: 行単位のレジスタ。1行の場合も、複数行の場合もある。 c: 文字単位のレジスタ。 b: Ctrl + v のビジュアルモードで選択し操作したブロック単位のレジスタ。 Name " の後に続く文字にそれぞれ意味がある。 ...