General

How to Select All in Vim: Copy, Delete, or Yank Every Line

Select all text in Vim with ggVG, yank every line with :%y, copy the whole file to the system clipboard, or delete all lines with :%d. No plugins required.

Quelle: Originalartikel öffnen

AI Assistant
Context loaded: How to Select All in Vim: Copy, Delete, or Yank Every Line