0

To use Neovim with my system clipboard I have to use the + register which I find inconvenient. When I type something like "+p I have to bounce my pinky all around. Is there a way to change the register it is bound to? For example to the j register so I could "jp to paste from the system clipboard.

I don't want to use set clipboard=unnamedplus because I still want it to be a specific clipboard that I have to intentionally use, so I don't accidentally overwrite it, for example when using dd.

1 Answer 1

2

For a vim and neovim solution, you can get pretty close with the following maps:

nnoremap "j "+
xnoremap "j "+
inoremap <c-r>j <c-r>+

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.