obsidian-vimrc-support
obsidian-vimrc-support copied to clipboard
`surround` with Text Including Spaces
As far as I can tell at the moment, there's no way to use surround
where one or both of the delimiter texts contain raw spaces. Passing strings directly (e.g. surround "( " " )"
) does not seem to work, nor does escaping spaces (e.g. surround (\ \ )
). Are there any plans to support this kind of use case?
I was hoping this would work after seeing #44 - it seems like the \
escape works if the escaped space is in the middle of a string, but in this case the space is on the beginning, or end, of the string, and it doesn't work, e.g.
:surround (\ \)