John Whitley
86f6aca956
Add support for 'cS' per issue 48
...
This adds support for a cS command that puts the contents of the wrapped
region on their own line, analogous to yS. This change includes repeat
support.
2015-02-03 10:14:41 -08:00
Tim Pope
fa433e0b73
Work around 'nomagic'
...
Documentation explicitly advises against setting this option, but this
particular problem is easy enough to work around.
Closes #90 .
2014-07-26 12:42:47 -04:00
Tim Pope
f85cb4e788
Merge pull request #125 from tommcdo/master
...
Add repeat.vim support to surround with function
2014-06-05 19:24:23 -04:00
Tom McDonald
4e73eeb01d
Add repeat.vim support to surround with function
...
Closes #106 .
2014-04-11 15:55:50 -04:00
Tim Pope
42e9b46e7a
Fix quote support
2013-09-23 14:05:37 -04:00
Tim Pope
9bf527af3a
Merge pull request #107 from DanielleSucher/support-arbitrary-delimiters
...
Handle arbitrary delimiters with cs and ds
2013-09-09 15:37:09 -07:00
Danielle Sucher
7def4c0772
Handle any punctuation delimiters with cs and ds
2013-09-06 11:31:14 -07:00
Takatoshi Matsumoto
02199ea008
Support to disable mappings only for insert mode
...
If disable mappings only in normal mode.
let g:surround_no_insert_mappings = 1
2013-01-23 12:26:25 +09:00
Tim Pope
2cc734fd99
Default to automatic indenting
...
Only one way to find out if this is actually a good idea.
2013-01-18 18:39:59 -05:00
Tim Pope
0b2c9ff9df
surround.vim 2.0
...
* Fix vs with selection=exclusive.
* Remove `unnamedplus' from clipboard in addition to `unnamed'.
* Kill vs.
* Bump to Vim 7.
* Add support for repeating ys commands.
* Add support for repeating tags.
* Don't save deleted surrounding in unnamed register.
* Fix deletion of delimiters on their own lines.
2013-01-01 01:44:29 -05:00
Tim Pope
4c9a4e0b34
Add a lisp function call replacement
...
Not sure how useful this is but we'll sneak it in undocumented.
2013-01-01 01:42:57 -05:00
Tim Pope
29afa295ae
Add : replacement
...
Both Ruby and Clojure use :keywords, so I'm considering this general
enough to make a default.
2013-01-01 01:34:27 -05:00
Tim Pope
1c9d8e660c
Add leading space replacement
2013-01-01 01:32:49 -05:00
Tim Pope
ac67c1a738
Remove documentation of LaTeX expansion
...
It's dumb, but I can't bring myself to yank it out entirely just yet.
2013-01-01 01:29:57 -05:00
Tim Pope
f57e5aa972
Fix deletion of delimiters on their own lines
...
Closes #19 .
2012-12-25 17:20:21 -05:00
Tim Pope
1a73f607f8
Remove s warning
...
Closes #51 .
2012-06-07 20:50:23 -04:00
Tim Pope
489a1e8c67
Fix .
with ys
and replacements with input
2012-03-14 12:34:06 -04:00
Tim Pope
dfea25aae8
Fix .
after a ys
map
...
Closes #54 .
2012-03-14 09:23:25 -04:00
Tim Pope
efc017dcb4
Don't save deleted surrounding in unnamed register
2012-03-03 06:46:11 -05:00
Tim Pope
98e4526c26
Merge pull request #52 from padgetap/master
...
Make repeat work for HTML tags
2012-03-03 03:45:56 -08:00
Alex Padgett
25f59364db
Enable repeat with tags for cst
2012-03-02 10:29:25 -05:00
Alex Padgett
b8b7ed84ee
Clear s:tag before starting wrap function
2012-03-02 10:24:19 -05:00
Alex Padgett
09fd529c7a
Add tag to the end of repeat message
2012-03-02 09:45:03 -05:00
Alex Padgett
3482aea5ba
Add support for tag repeat
2012-03-02 09:20:22 -05:00
Chris Johnsen
4eb2cdfccc
Fix typo
2011-11-15 15:58:51 -06:00
Chris Johnsen
f77ee23e7e
Fix more mentions of "vs" in the docs
2011-11-15 15:58:16 -06:00
Tim Pope
6f0984a5ca
Don't clobber v_s map
2011-10-06 18:15:49 -04:00
Tim Pope
440dc59614
Typo
2011-09-17 16:42:24 -04:00
Tim Pope
f6c9d3beb2
Warn about removed "s" mapping
2011-09-10 19:25:18 -04:00
Tim Pope
c9120390d8
Kill vs in the docs
2011-08-30 20:32:41 -04:00
Tim Pope
21d7375644
Bump to Vim 7
2011-08-30 20:32:41 -04:00
Tim Pope
2e600335db
Clarify copyright
2011-08-30 20:32:41 -04:00
Tim Pope
6fb16eae21
Kill vs
2011-08-29 01:54:43 -04:00
Tim Pope
3d2d04a31b
Add a README
2011-08-29 01:22:01 -04:00
Tim Pope
50934cc38b
Ignore doc/tags
2011-08-29 01:21:49 -04:00
Tim Pope
4eed69afe5
Kill boilerplate and commented code
2011-08-29 01:00:43 -04:00
Tim Pope
010c5fc915
Use URL not email
2011-08-29 00:54:47 -04:00
guns
d9e6bfdd90
Remove unnamedplus' from clipboard in addition to
unnamed'
...
Vim 7.3.074 adds the `unnamedplus' feature to the clipboard option,
which allows use of the "+ register (X11 CLIPBOARD) via yank/paste
2011-01-23 12:29:07 +08:00
Tim Pope
193649616c
Fix vs with selection=exclusive
2011-01-11 23:15:43 -05:00
Tim Pope
e6f8ab5b82
Update email address
2011-01-11 23:15:43 -05:00
Peter Vandenberk
b99ce735ea
add space after ">" at end of line to ensure vim visibly renders it
2010-12-20 04:30:28 +08:00
Tim Pope
27710a2224
Add rob-fortune's mnemonic for "ys"
2010-09-09 11:00:28 -04:00
Tim Pope
ad5690f10e
surround.vim 1.90
2010-03-05 19:57:47 -05:00
Tim Pope
29af61b9b4
Use xmap if possible for vgS
2010-03-05 19:57:47 -05:00
Tim Pope
a48b3be6cb
Begin phasing out vs and introduce vgS
2010-03-05 19:43:28 -05:00
Tim Pope
e842a01061
Switch to a 'shiftwidth' of 2
2010-03-05 19:43:28 -05:00
Tim Pope
f5dc0afc4b
Update email address
2010-03-05 19:43:28 -05:00
Tim Pope
545ca856ff
Work around remapped "d" [Christian Oudard]
2009-11-03 22:16:48 -05:00
Tim Pope
50cea14534
Really get rid of % mapping on tag input
2009-07-21 11:40:41 -04:00
Tim Pope
298858f6a2
Fix bugs related to 'ignorecase' and 'clipboard'
2008-04-25 21:59:41 -05:00