Tim Pope
2d05440ad2
Merge pull request #175 from yuex/ds__
...
support ds<space><space>
2015-08-07 23:37:10 -04:00
Tim Pope
c492390126
Merge pull request #167 from sunaku/issue-159
...
GH-159: don't use comma as alias for HTML/XML tags
2015-08-07 23:22:40 -04:00
Yue Xin
e38dea3972
support ds<space><space>
2015-08-08 01:28:26 +08:00
Suraj N. Kurapati
5c6a64f333
GH-159: don't use comma as alias for HTML/XML tags
...
This change allows us to surround text with commas.
2015-04-30 10:36:59 -07:00
Tim Pope
772ab9587b
Merge pull request #163 from kiryph/feature-repeat-late
...
Add repeat.vim support to surround with LaTeX environment 'ys<>l'
2015-03-15 13:32:12 -05:00
kiryph
605c12d7d2
Add repeat.vim support to surround with LaTeX environment 'ys<>l'
2015-02-25 21:28:28 +01:00
Tim Pope
ec579a5047
Merge pull request #131 from shanesmith/master
...
Keep HTML attributes when changing tags
2015-02-22 12:37:25 -06:00
Shane Smith
5d6b91ce80
Keep HTML attributes when changing tags
...
By default keep the HTML attributes of the previous surrounding tag.
Option to remove attributes if the new tag prompt is ended with '>'.
Fixes #95 .
2015-02-22 11:50:33 -05:00
Tim Pope
fd75eb2cb2
surround.vim 2.1
...
* Handle arbitrary punctuation delimiters with cs and ds.
* Default to automatic indenting.
* Provide cS to force surroundings on separate lines.
* Support for disabling mappings only for insert mode.
* Add repeat.vim support to surround with function.
* Work around 'nomagic'.
2015-02-08 14:06:19 -05:00
Tim Pope
6afb2d90e3
Merge pull request #158 from itspriddle/patch-1
...
Fix typo in `repeat#set` call
2015-02-04 16:50:48 -06:00
Joshua Priddle
7e8f414b8c
Fix typo in repeat#set
call
2015-02-04 17:49:38 -05:00
Tim Pope
6e0a168a97
Merge pull request #96 from jwhitley/john/cS
...
Add support for 'cS' per issue 48
2015-02-03 12:39:09 -06:00
John Whitley
5211890344
Update documentation for 'cS'
2015-02-03 10:14:41 -08:00
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