Skip to content
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

don't add whitespace #27

Closed
eyan opened this issue Apr 26, 2011 · 3 comments
Closed

don't add whitespace #27

eyan opened this issue Apr 26, 2011 · 3 comments

Comments

@eyan
Copy link

eyan commented Apr 26, 2011

i've just discovered vim-surround and this is a godsend for editing lisp code in vim.

however, i find that when adding parens the additional whitespace forces me to delete said space on the closing parens.

is there any way to change this? i am not so well learned in reading vim scripting code.

maybe a pointer in the docs on how to disable this manually would be just fine.

thank you for this very handy script.

@mathstuf
Copy link

Use the close paren to not pad spaces inside. Similar for square, curly braces, etc.

@tpope tpope closed this as completed Apr 26, 2011
@axelson
Copy link

axelson commented Aug 21, 2012

Note: I wish this was more apparent in the help docs. In fact I don't see it on there at all. It would fit well in the ys section.

@williscool
Copy link

+1 for making this more apparent in the docs.

Awesome feature

tpope added a commit that referenced this issue Oct 25, 2022
Apparently mentioning in the both the README intro and the help file
isn't enough.  I give up.

Resolves: #366
Resolves: #363
Resolves: #314
Resolves: #303
Resolves: #240
Resolves: #205
Resolves: #108
Resolves: #27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants