-
Notifications
You must be signed in to change notification settings - Fork 37
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
Is there any insert mode mapping? #100
Comments
No, since I haven't used it. Could it be useful? |
I am writing a blog post about vim-sandwich in Chinese. I want to show some examples based on vim-surround experience. In the other words, I would like to fulfill some vim-surround functions in vim-sandwich way, so I can do comparison between these two plugins easily. For example, the below text Using vim-surround command How to do the same thing using vim-sandwich? Please advice. Thank you. |
I'm not the package author, but you can achieve almost the same behavior using |
Useful for autoclosing functionality. provides Ctrl-s (same line surrounds) and Ctrl-s-s (spread over three lines) when in insert mode to add surrounds. Ctrl-s ( --> (|) Ctrl-s [ --> [ | ] Ctrl-s ] --> [|] Ctrl-s -->
| |
Hi @machakann ,
I am wondering if there is a way to insert pairs of surroundings in insert mode?
Like insert mode mapping on
<C-G>
s and<C-S>
of vim-surround:https://github.com/tpope/vim-surround/blob/f51a26d3710629d031806305b6c8727189cd1935/doc/surround.txt#L82
Thanks
The text was updated successfully, but these errors were encountered: