You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Place your cursor at the beginning of some word, like some
Press ves
Observed behaviour: 👀 💔
Status bar says s-; the selection remains in place. Typing another character surrounds the selection with that character.
Expected behaviour: ❤️ 😄
The selected word should be removed and the mode should be switched to Insert, like in Vim. In Spacemacs, this can be achieved with the c command instead of s.
I admit that surrounding the selection with a character might be something someone would need, and c and s are (completely?) equivalent in Visual mode. However, muscle memory from Vim is still there, and it's inconvenient that the defaults are different.
The text was updated successfully, but these errors were encountered:
We use evil-surround, which mimics Vim's surround plugin. It does work differently than vanilla Vim, but that's intentional. You can try excluding the evil-surround package and see what happens.
Description
s
in Visual mode works differently from Vim.Reproduction guide 🪲
type some words
some
ves
Observed behaviour: 👀 💔
Status bar says
s-
; the selection remains in place. Typing another character surrounds the selection with that character.Expected behaviour: ❤️ 😄
The selected word should be removed and the mode should be switched to Insert, like in Vim. In Spacemacs, this can be achieved with the
c
command instead ofs
.System Info 💻
I admit that surrounding the selection with a character might be something someone would need, and
c
ands
are (completely?) equivalent in Visual mode. However, muscle memory from Vim is still there, and it's inconvenient that the defaults are different.The text was updated successfully, but these errors were encountered: