Tuesday, March 11, 2014

Re: Question about surround.vim and visual selection

Hi,

Niels Kobschätzki wrote:
>
> is there a way when using surround.vim with visual selection doesn't add white space?
>
> When having:
> "This is some text"
> and I select "some" and hit "S(" it becomes:
> "This is ( some ) text"
> but I want
> "This is (some) text"

use the closing parenthesis instead, i.e., "S)". This works for all
pairs of "surroundings" that have different opening and closing
characters.

Regards,
Jürgen

--
Sometimes I think the surest sign that intelligent life exists elsewhere
in the universe is that none of it has tried to contact us. (Calvin)

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: