VIM Macros

Macros A macro in Vim is simply a sequence of recorded commands. Q โ€“ Starts recording a macro. Perform actions, then press Q again to stop recording. @a โ€“ Replays the macro recorded in register a. ๐Ÿ›  Editing a Macro Create a new buffer: 1 :new Paste the contents of the macro from register a: 1 :put a Edit the macro content: A โ€“ Move to end of line in normal mode....

April 5, 2025 ยท Alberto

VIM Quick Reference

Help 1 :h jumplist Astronvim Shortcuts Symbols: ls : Launch FZF to search for symbols. lS : Toggle right sidebar with all symbols. Navigation & Repetition f{s} โ€“ Jumps to the next occurrence of the character {s} in the current line. 4ft โ€“ Moves the cursor to the 4th occurrence of the character t on the current line. ; โ€“ Repeats the last character-finding command (like f, t, etc.). , โ€“ Repeats the last character-finding command in the opposite direction....

December 14, 2024 ยท Alberto