Ravi Sir's Cards › AWS
Vim editing
This revision card explains Vim editing. It starts from the need that fast edits without a mouse. It describes dd delete, yy copy, p paste. The how-to section notes u undo, /word to search. An example on the card is replace in whole file.
Read card text
What this card says
Why do we need it?
Fast edits without a mouse.
What is it?
dd delete, yy copy, p paste.
How to do it
u undo, /word to search.
Example
Replace in whole file.
:%s/old/new/g