vim how to select all lines code example
Example: select all vim
ggVG
// gg moves to first line.
// V starts visual mode.
// G jumps to last line thereby selecting all content.
ggVG
// gg moves to first line.
// V starts visual mode.
// G jumps to last line thereby selecting all content.