Closed TheComet closed 1 month ago
The default mapping sd
to delete surrounding has been working the same way for the past (at least) year.
5. Highlight the word again (
viw
), presssd)
to delete the brackets --> Doesn`t work!
I am pretty sure that doing viw
followed immediately by sd)
never worked as "delete brackets for visual selection".
Now visual selection is needed. Pressing sd)
in Normal mode will try to find surrounding parts with id )
and delete them. This is described in the help.
Contributing guidelines
Module(s)
mini.surround
Description
At some point last month, my shortcut for deleting surrounding characters stopped working. All other shortcuts still work, though, such as adding.
Neovim version
0.10.0-dev
Steps to reproduce
.config/nvim/init.lua
:.config/nvim/after/plugin/mini.lua
::PackerSync
viw
), and presssa)
. It will surround the text with bracketsviw
), presssd)
to delete the brackets --> Doesn`t work!Expected behavior
Using
sd)
should delete the surrounding brackets.Actual behavior
The highlighted text is replaced with "d" instead of being surrounded