New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Surrounding multiple times #213
Comments
you could do Wonder if such an extension would be useful enough to include in the plugin... Personally I don't need to do this too often. |
@jpassaro I do this a lot! |
Currently, I map it like this: offchan42/vimrc@ed9b042 So |
And a lot of times, I want to surround things with arbitrary text like |
Example: ysiw3"
Example: ysiw3"
Example: ysiw3"
Totally up for this. Right now, the required motion is |
@boardfish you might consider using |
^ oh it doesn't work even with vim-repeat. :-( though |
Totally opt for this feature. Would fit more nicely into vim's language. |
Thanks @rjmccabe3701! With that config the one-line case is covered by I edit a lot of Jira markup in vim, so I'm gonna go wild and set this up for |
For markdown code blocks, I use this to wrap ``` around my selection:
Though |
Support surround character multiplier (Fixes tpope#213)
Something along these lines would be very useful for using writing |
This should work: let b:surround_{char2nr('o')} = "**\r**" Mnemonic: bOld. |
Thanks, the plugin is great, I use
yss
often, and like how the difference between pair characters is implemented (in]
and[
for example).But, what to do when I need to surround the line with double, triple or N amount of characters?
I tried
2yss]
andyss2]
to surround the line with double brackets ([[line]]
) (which is happening frequently when dealing withorg mode
in emacs orwikimarkup
on wikipedia) but it didn't work (obviously). Any solutions?The text was updated successfully, but these errors were encountered: