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
Have you read through :h nvim-surround to see if there might be any relevant information there?
Is your feature request related to a problem? Please describe.
For example, I added a link surround for markdown files, and I want to jump to the open ( after surrounding, so that I can input link immediately. I thought move_cursor was there for this kind of cases, but it seems limited.
Describe the solution you'd like
So, is it a good idea to extend move_cursor to support a customize function to do "post surround" stuffs?
Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered:
I'm not too sure yet; at the very least for your case you can use the add function to auto populate the link from your clipboard, or something similar.
Currently working on adding move_cursor = "sticky"|"end"; I would need to think harder about a user-defined function since there would need to be some kind of well-defined API.
Edit: Seems like getting every edge case is incredibly hard to do, while also respecting all the operations (CC: @ces42)
Checklist
:h nvim-surround
to see if there might be any relevant information there?Is your feature request related to a problem? Please describe.
For example, I added a link surround for markdown files, and I want to jump to the open
(
after surrounding, so that I can input link immediately. I thoughtmove_cursor
was there for this kind of cases, but it seems limited.Describe the solution you'd like
So, is it a good idea to extend
move_cursor
to support a customize function to do "post surround" stuffs?Additional context
Add any other context or screenshots about the feature request here.
The text was updated successfully, but these errors were encountered: