3 ms·
I was confused by the ‘q’ command in vi, so I did quick testing (in nvi(1)) and scanned vim cheat sheets. I still don’t know what ‘q’ does in the named buffer c
by bch 7y ago
I was confused by the ‘q’ command in vi, so I did quick testing (in nvi(1)) and scanned vim cheat sheets. I still don’t know what ‘q’ does in the named buffer context - help?
- okal 7y agoRecording macros, I think.
- bch 7y agoLooks like you’re correct![0] In nvi, I just key my commands on a scratch line (testing occasionally), then: “xyy to load the whole line (yy) into buffer ‘x’ (“x). Execution (@x) thereafter looks ~same. [0] https://vim.fandom.com/wiki/Macros https://vim.fandom.com/wiki/Macros