Support function calls with surround operations #26175
murtlatif
started this conversation in
Ideas From Vim
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
nvim-surround
, you can dodsf
to remove the wrapping function call. This also applies to the change and add operations as well (ysiwfmy_func
to wrap the inner word with a call tomy_func
).The example found in the
nvim-surround
repo shows the following, where*
represents the current cursor position:I find this functionality to be quite useful and use it but I don't see the ability to do this in Zed currently (unless it does exist and it's just implemented in a way that I'm not sure how to access).
Beta Was this translation helpful? Give feedback.
All reactions