How to copy the contents of one register to another without pasting on clipboard? I'd yanked one text and it got yanked in the default " register. Now I want to copy another text without deleting/overwriting " register. So I want to move the contents of " register to say some a or b register so that I can copy the new text inside ". How to do this?
Copy from one register to another
17.4k Views Asked by bluegenetic At
2
To copy or swap values between registers you can use the :let command, for example to copy the contents of the
bregister toa:Or copy the contents of the
"register toa:Check this Vim Tip for some good key mapping suggestions: