Closed phgz closed 4 months ago
Sorry for the delay; this actually seems like quite an interesting idea. I don't believe vim-surround
has a dS
keymap set up by default :thinking:
After some more consideration, I don't think this is a common enough ask to be worth the maintenance burden + would cloud the semantics of what the S
here would mean (as opposed to yS
, cS
). If more people show interest maybe I'll reconsider.
Checklist
:h nvim-surround
to see if there might be any relevant information there?Is your feature request related to a problem? Please describe. I would like to be able to delete the lines containing the surrounds. For example, if i have
where
|
is the cursor location, and do, say,dS)
, then it would end up like this:Describe the solution you'd like I already did an implementation and would like to know if you are interested by the idea.
Additional context I often use the
:h forced-motion
feature and it feels unnatural when I dodVs)
to not have the entire lines removed.