New answers tagged

1

You did two Evils, and then the third Evil came and seized you. So what is an advice you seek for? "Select mode" and "Clipboard" are pure evil. Remove them from your vimrc and forget for good. Always make it Vim-way, or switch to the Notepad for eternity. Now, seriously I can't seem to find the documentation on this. From :h select-mode: "Printable ...


4

Vim doesn't want you to lose the deleted text, so it stores the replaced selection in the default register; due to your 'clipboard' configuration, this includes the clipboard. The usual way to avoid that is through specifying the black hole register, but that's difficult in select mode. You can switch to visual mode (<C-G>) and then do the replacing ...


Top 50 recent answers are included