Closed angelollima closed 1 year ago
That is because ys
is not an editor command defined by nvim-surround
. It is a normal mode keymap, i.e. type ysiw)
in normal mode, not in command mode.
i'm so sorry for that. I got completely confused. works pretty well
Checklist
:h nvim-surround
to see if there might be any relevant information there?Neovim Version
NVIM v0.8.2
Plugin Version
Tagged (Stable)
Minimal Configuration
Sample Buffer
Keystroke Sequence
:ysiw)
Expected behavior
"kylechui/nvim-surround"
command: ysiw)
expected: ("kylechui/nvim-surround")
Actual behavior
nothing happens and then i receive the message Error "Not an editor command"
Additional context
I saw the issue https://github.com/kylechui/nvim-surround/issues/193#issue-1515083889 but i believe that there's no problem on root cause i tested others plugins after i try this one and it works well!