Closed adam-c-anderson closed 4 years ago
It's actually for ViEmu compatibility, VsVim should do good without gS, but wonder if gS actually does something when used in VsVim. So i've kept gS there, because there is no need to duplicate mapping examples for VsVim and ViEmu separately. Sorry for confusing, maybe i should clarify this in mapping example comment line.
Here is part of ViEmu documentation for ref: "An alternative if you want to use ViEmu's "emulated" selection, and you still need to go into VS-selection mode from time to time is to use the gS command when you need to do the conversion (this only lasts until the next ViEmu keypress)."
Thanks for the clarification! I agree an explanation in the comment line would be helpful.
Done! Thanks for reporting
VsVim sample mappings include ones like this
nnoremap <Space> gS:vsc Tools.InvokePeasyMotion<CR>
As an intermediate Vimmer, I do not recognize the purpose of the
gS
portion of the mapped command. It's not documented, seems to behave only asS
when executed in normal mode, and the mapping works the same without it AFAICT. What isgS
for?