@dcz
Hmm, I see what's missing.
% is the one special character that you need to escape (it's %%), it's documented in :help expansions.
I tried
:exec "%%spubchello"
And it replaces all occurrences of pub with hello.
Execute-keys runs keys as if they were pressed by the user and evaluate-commands evaluates parameters as if they were entered in the command prompt.
=> More informations about this toot | View the thread | More toots from marcc@fosstodon.org
=> View dcz@fosstodon.org profile
text/gemini
This content has been proxied by September (3851b).