tpope / vim-surround

surround.vim: Delete/change/add parentheses/quotes/XML-tags/much more with ease

Home Page:https://www.vim.org/scripts/script.php?script_id=1697

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Surrounding without spaces

amirteymuri opened this issue · comments

How can the surrounding be done without spaces after and before brackets?
Currently when I do ysiw( with cursor on w I get ( world ).

How can the surrounding be done without spaces after and before brackets?

Using an opening bracket will add a space, using a closing bracket will not add a space.

Examples:

  • ysiw( => ( world )
  • ysiw) => (world)