0

I'm using emacs with evil keybindings (specifically spacemacs).

The default behavior of the paste command p is to paste in the clipboard, and default behavior of the delete command d is to put the removed text on the clipboard.

However, when you use vim this is not the default behavior. In vim, clipboard is on the '+' register and the default register is not in sync with the clipboard.

This has some benefits like delete commands do not overwrite your clipboard, and if you do want to overwrite the clibpoard you have to do some extra work by pressing "+d.

Instead of learning evil defaults, I was wondering if there is a way I can move keyboard to the '+' register. I use multiple editors with vim emulation so this minimizes friction for my workflow.

2

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.