Skip to content

Commit

Permalink
typo: remove redundant Ctl-R
Browse files Browse the repository at this point in the history
  • Loading branch information
ehds committed Jan 1, 2022
1 parent d1b832d commit 49cd31a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ch09_macros.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ To add the amended instruction into register a, you can do it the same way as ad

Now when you execute `@a`, your macro will toggle the case of the first word, add "deep fried " before "donut", and add a "." at the end of the line. Yum!

An alternative way to amend a macro is to use a command line expression. Do `:let @a="`, then do `Ctrl-R Ctrl-R a`, this will literally paste the content of register a. Finally, don't forget to close the double quotes (`"`). You might have something like `:let @a="0W~$bideep fried ^[A.^["`.
An alternative way to amend a macro is to use a command line expression. Do `:let @a="`, then do `Ctrl-R a`, this will literally paste the content of register a. Finally, don't forget to close the double quotes (`"`). You might have something like `:let @a="0W~$bideep fried ^[A.^["`.

## Macro Redundancy

Expand Down

0 comments on commit 49cd31a

Please sign in to comment.