I have downloaded a new version of Tim Pope’s surround plugin. I noticed he deprecated ‘s’ in favor of uppercase ‘S’.
He said this was to prevent interference with a lot of Vim user’s muscle memory for hitting lower-case ‘s’ in visual mode. I did some googling but I can’t seem to find what exactly this does?
I’d like to know, just in case there is a good bit of info I should know about that key combo 🙂
As described in the Vim manual:
So both c and s do the same thing in visual mode.
Also, in general, if you want to know what a key does in something other than normal mode, just prefix the key with the first letter of the mode and a underscore.
For example:
to find out what the s key does in visual mode.