What's the deal with Deno? We talk with a major contributor to find out. Listen now.
5

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 ...


2

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 ...


2

So you're referring to the search results that get highlighted when you have the 'hlsearch' option set. So, in effect, these are the search results. Your example has one more quirk to it, which is the fact that you're ending with a \zs, so in effect what Vim is highlighting there is the character following the search term and not the match itself (...


1

At the time we (maintainers of snippet/template engines) had mappings using :vmap which were targetting the select mode. I still have a few traces of that in my lh-brackets plugin. Also the mswin.vim beasts were using vmap instead of smap, IIRC. I'm not sure if there were other big users of the select mode. Evolutions that break what is already working, ...


Only top voted, non community-wiki answers of a minimum length are eligible