How do I yank and paste using named registers?
"ayy ... "ap
Named registers let you store multiple pieces of text independently.
"ayy ... "ap
Named registers let you store multiple pieces of text independently.
qa ... q ... @a
Macros let you record a sequence of commands and replay them.
.
The .
:%s/old/new/g
The :%s/old/new/g command replaces all occurrences of old with new across every line in the file.
vi"
The vi" command visually selects all text inside double quotes, without including the quotes themselves.
visual-mode #visual-mode #text-objects #editing #normal-mode
:split
The :split command (or s) splits the current window horizontally, creating a new window above with the same file.
:set number!
The :set number! command toggles line numbers on or off.
:g/pattern/d
The :g/pattern/d command deletes every line in the file that matches the given pattern.