diff --git a/README.md b/README.md index ff2b6fe..8a4c748 100644 --- a/README.md +++ b/README.md @@ -1768,11 +1768,14 @@ register. I often use this to correct typos I did while recording a macro. ```vim -nnoremap m :='let @'. v:register .' = '. string(getreg(v:register)) +nnoremap m :='let @'. v:register .' = '. string(getreg(v:register)) ``` Use it like this `m` or `"qm`. +Notice the use of `` to make sure that the `` is inserted +literally. See `:h c_^R^R`. + #### Quickly jump to header or source file This technique can probably be applied to many filetypes. It sets _file marks_