Pro Vim by Mark McDonnell

Pro Vim by Mark McDonnell

Author:Mark McDonnell
Language: eng
Format: epub, pdf
Publisher: Apress, Berkeley, CA


2.Edit any part of the macro, using some “jiggery pokery.” (Yes, that’s a technical term.)

Appending

If all you have to do is append some additional commands to the end of your macro, the solution is very straightforward. You can use the capitalized variation for recording the macro.

qA

In the preceding example, we’re telling Vim that we want to append onto the a register by using the capitalized version of the register. If we were to execute qa instead, we would erase the a register and start adding fresh commands. The capitalized variation avoids that.



Download



Copyright Disclaimer:
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.