From 49cd31a0d75b493fb6d1bc909621d663c2f0f7de Mon Sep 17 00:00:00 2001 From: ds Date: Sat, 1 Jan 2022 16:29:12 +0800 Subject: [PATCH] typo: remove redundant Ctl-R --- ch09_macros.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch09_macros.md b/ch09_macros.md index 7830ff0..e12fe6b 100644 --- a/ch09_macros.md +++ b/ch09_macros.md @@ -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