I use pandoc markdown in text files and want to automate links that refer to internal textnodes. For example I have a link like [\%110lund]
going to the word "und" in line 110. To automate the jumping process I defined a keybinding:
nnoremap <Leader>l vi[y/<ctrl+r>0<CR>
Unfortunately <ctrl+r>
is written as the query string instead of performed to copy the visual selection.
So my question is how do I have to notate <ctrl+r>0
at this location so that it is actually performed instead of written out