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
kiryph
605c12d7d2
Add repeat.vim support to surround with LaTeX environment 'ys<>l'
2015-02-25 21:28:28 +01: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
Joshua Priddle
7e8f414b8c
Fix typo in repeat#set
call
2015-02-04 17:49:38 -05: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
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
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
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
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
Tim Pope
6f0984a5ca
Don't clobber v_s map
2011-10-06 18:15:49 -04:00
Tim Pope
f6c9d3beb2
Warn about removed "s" mapping
2011-09-10 19:25:18 -04:00
Tim Pope
21d7375644
Bump to Vim 7
2011-08-30 20:32:41 -04:00
Tim Pope
6fb16eae21
Kill vs
2011-08-29 01:54:43 -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
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
Tim Pope
e9ba54ce8d
Fix shift in csw, etc.
2008-02-15 21:43:42 +00:00
Tim Pope
5f32b8921e
Don't back up if no match found
2008-02-04 03:50:46 +00:00
Tim Pope
4c001173ad
Settle on using repeat#set
2008-01-29 15:46:22 +00:00
Tim Pope
9b9445f62b
Fix regression in quote handling
2008-01-29 15:43:43 +00:00
Tim Pope
9813515fb2
Hedge bets on dot.vim/repeat.vim name
2008-01-27 16:27:08 +00:00
Tim Pope
bb456ddcf4
Fix edgecase where ds would move the inner text
2008-01-25 18:31:07 +00:00
Tim Pope
afd585e84c
Added dot.vim support to surround.vim
2008-01-24 03:15:36 +00:00
Tim Pope
5cc6e56248
Fixed multiline surrounds in insert mode
2007-10-01 15:27:33 +00:00
Tim Pope
18967e9fcb
Tweaked insert mode indent rules
2007-07-31 14:20:47 +00:00