I am using vscode + vim. Consider a common scenario where I have to yank/delete some text from one place and replace it with some text anywhere else. But as I need to replace I have to first delete the other text. This results into lost of the previously deleted text.
The solution I thought of it that I can map some key to move contents of "
register to register a
so it gets saved and whenever I need it I can use <leader> + p
to paste it. <leader> + p
is mapped to "ap
.
I figured out how to move content between registers using let
but the issue is that vscode vim doesn't support that yet. It is saying
:let is not implemented yet PRs are welcomed.
Is there any other way I can do this? Is there any alternative for let
for vscode vim or does anyone have any better solution for this issue.