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
This works also in visual block mode in the sense that selecting a block and hitting ( for example, will put a ( and ) around the selection on each line.
The text was updated successfully, but these errors were encountered:
I just think it might be worth mentioning that it's possible (and in my case very handy) to use this in visual mode and even visual block mode.
Example
.vimrc
:vmap <silent>( <Plug>(operator-surround-append)( vmap <silent>[ <Plug>(operator-surround-append)[ vmap <silent>{ <Plug>(operator-surround-append){ vmap <silent>" <Plug>(operator-surround-append)" vmap <silent>' <Plug>(operator-surround-append)'
This works also in visual block mode in the sense that selecting a block and hitting
(
for example, will put a(
and)
around the selection on each line.The text was updated successfully, but these errors were encountered: