Skip to content

Suggestion for documentation #34

@codezapper

Description

@codezapper

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions