Commit Graph

112 Commits

Author SHA1 Message Date
Miao Jiang
179520e690 Fixes #229 triple quote stopped working 2019-01-17 15:51:19 +08:00
Miao Jiang
43db4c1776 Fixes #228 ' is duplicated inside a word 2019-01-16 10:07:05 +08:00
Miao Jiang
8d2f838205 Fix jump incorrect 2019-01-15 22:56:58 +08:00
Miao Jiang
38d53d4df0 Close empty pairs smartly 2019-01-15 22:26:37 +08:00
Miao Jiang
7d721d261f Indent line when return 2019-01-15 21:33:19 +08:00
Miao Jiang
423ee192c7 Prevent jumping multi line if open pair equals close pair 2019-01-15 19:38:21 +08:00
Miao Jiang
1ff8be79d3 Fix jump over closed pair 2019-01-15 18:45:46 +08:00
Miao Jiang
4d5060c80c Add wild closed pair 2019-01-15 17:17:06 +08:00
Miao Jiang
1884e426ca Fix delete pairs incorrect 2019-01-15 17:03:32 +08:00
Miao Jiang
680f4fefcd Keep clipboard when fastwrap 2019-01-15 12:43:46 +08:00
Miao Jiang
738d1f18a8 Support multibytes pairs 2019-01-15 04:21:48 +08:00
Miao Jiang
4ec359716a Bump version 1.3.4 2019-01-15 04:18:06 +08:00
Mikhail f. Shiryaev
cf921dadce Fix breaking of keymap behavior 2019-01-12 16:09:52 +01:00
Miao Jiang
6afc850e24 New feature: Move character under the cursor to the pair. 2017-06-17 01:23:20 +08:00
François-Xavier Bourlet
69bfaf0fdd Use normal!
Use `normal!` to avoid collision with user defined mappings.
2017-01-23 14:51:25 -08:00
Vladimir Bauer
edf7ab9a9e remove trailing white spaces 2016-11-21 11:29:39 +05:00
Miao Jiang
b0c9fce101 Merge pull request #161 from smiechowy/master
Fix checking for patch849
2016-11-20 02:40:26 -06:00
smiechowy
2d4071038a Fix checking for patch849 2016-11-14 11:52:47 +01:00
Dave Pagurek
33ecfd759d Recenter before adding line, fix overwriting copy 2016-10-29 11:47:04 -07:00
Dave Pagurek
63b0c1b249 Fix double-escape being needed 2016-07-16 01:23:20 -04:00
Miao Jiang
5979999a17 won't break repeat if jump by the closed pair in the same line 2016-03-28 13:12:41 +08:00
Miao Jiang
65a7237b2b Fixes #119, allow disabling <C-h> mapping. 2016-03-28 03:11:14 +08:00
Miao Jiang
0c30ba85f0 Fixes #3, breaks '.'. 2016-03-28 03:06:51 +08:00
Yang Tang
7f548cbb18 Don't break undo with left/right cursor movement. 2016-02-17 13:42:20 -05:00
Christian Höltje
9828061855 option to only search current line for closing pair
This adds the `g:AutoPairsMultilineClose` option.
2014-05-24 00:03:51 -04:00
Miao Jiang
c2f60ca2e5 Fixes #63, skip checking patch if the version is greater than 703. 2013-10-20 10:11:05 +08:00
Miao Jiang
0e27b0a9b1 Fixes #63, skip checking patch if the version is greater than 703. 2013-10-15 00:19:22 +08:00
Miao Jiang
8e07c8de31 Compatible with xmleditor. 2013-09-03 16:39:44 +08:00
Miao Jiang
8f4598b883 Bump version to 1.3.2 2013-07-13 12:00:27 +08:00
Scott McGinness
1484f6501d Try to use abbreviation before using space mapping 2013-05-20 19:56:12 +01:00
HalFtaN
6a705983d1 <c-h> now behaves the same as <BS>
mean that it will delete the closing parentheses as well
2013-05-07 21:24:36 +08:00
Miao Jiang
9617a648c5 Bump version to 1.3.1 2013-04-01 04:05:03 +08:00
Miao Jiang
a5f9ac7f43 Fix #46, Incompatible CR mapping with supertab. 2013-03-31 12:17:42 +08:00
Miao Jiang
37076cb15f Correct version check for maparg ext, introducetd from Vim 7.3.32, #44. 2013-03-28 03:47:53 +08:00
Miao Jiang
b7ae7d0ba8 Fix incorrect is_expr. 2013-03-27 17:24:17 +08:00
Miao Jiang
5d713be821 Update map expr checking. 2013-03-27 16:39:52 +08:00
Miao Jiang
24ffa783f0 Fix #44, compatible with old vim before 7.3. 2013-03-27 15:52:29 +08:00
Miao Jiang
0a79f50acb Wrap old CR in buffer level. 2013-03-23 18:02:09 +08:00
Miao Jiang
85a9a7daac Improve <CR> mapping compatible. #43 2013-03-23 16:56:21 +08:00
Miao Jiang
b3729e8779 Add License MIT #40 2013-03-17 19:32:25 +08:00
Miao Jiang
f13a60913f Fixes #39, Backspace removes additional " (quote) on line below. 2013-03-17 11:58:28 +08:00
Miao Jiang
e5f17cf9e2 Improve #37, ignore comment line for vim file. 2013-03-04 22:04:15 +08:00
Miao Jiang
fc5b845f6b Improve #36, Keep quotes number is odd in one line. 2013-03-04 14:19:13 +08:00
Miao Jiang
2982312bae fixes #35: Fast Wrap incorrect.
(|)p[i] to (p[)i]
should be (p[i])
2013-03-02 19:06:01 +08:00
Miao Jiang
f6a18ca775 fixes #33: character '|' map failed. 2013-02-18 11:23:05 +08:00
Miao Jiang
23e77decb1 Bump version to 1.3.0 2013-02-16 14:02:32 +08:00
Miao Jiang
c0593a61c7 Delete duplicated pairs in one time.
eg ```|``` {{|}} [[|]]
2013-02-12 14:02:25 +08:00
Walker Inman
f11f3e5ee3 updated action on triple quote to add second line
changed the action on triple quote to add a closing quote and
start editing on the newly opened line inside the quotes.  the
only way to jump beyond the quotes is to escape and scroll down.
this is because a <CR> should give a new line, not jump to closing
quotes.
2013-02-11 09:56:54 -05:00
Miao Jiang
dd1ea6b1f7 Bump to v1.2.9 2013-01-15 15:27:23 +08:00
Miao Jiang
36ebfb6f29 improve #29 Buffer level pairs controlling. 2012-12-24 00:53:22 +08:00