Commit Graph

118 Commits

Author SHA1 Message Date
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
Miao Jiang
0cabb1be77 bump to v1.2.8 2012-12-18 22:27:43 +08:00
Miao Jiang
ba81f659e7 fixes #27 <BS> cannot work when AutoPairs is turn off. 2012-12-01 13:06:15 +08:00
Miao Jiang
d59bc39f75 fixes incorrect AutoPairsDelete
[|{}
    ]

    press <BS> at | will become ]
2012-11-29 17:13:04 +08:00
Miao Jiang
713a33318a bump to v1.2.7 2012-11-02 09:27:26 +08:00
Miao Jiang
8e9bee94c8 Add viki compatible hints to README 2012-10-25 00:59:21 +08:00
Miao Jiang
3c18515955 fixes #24 when equalprg is setting AutoPairsReturn cannot work well 2012-10-19 00:05:10 +08:00
Miao Jiang
652175babc bump to v1.2.6 2012-10-17 09:40:12 +08:00
Miao Jiang
9758a447cf fixes #23: Support typographer's quote pairs, such as ‘, ’, “, ” 2012-10-09 15:00:34 +08:00
Miao Jiang
1c5046f8c3 bump to v1.2.5 2012-09-15 12:08:47 +08:00
jiangfriend@gmail.com
4a02e2c488 Fixes indentation incorrect when returning below 1/3 bottom of window. 2012-08-30 14:59:44 +08:00
jiangfriend@gmail.com
28dc48fd9d bump to v1.2.4 2012-08-17 00:22:13 +08:00
jiangfriend@gmail.com
30c9108f80 fixes #20 Errors in pair creation that is split by ENTER 2012-08-11 22:29:33 +08:00
jiangfriend@gmail.com
f24af6af48 bump to v1.2.3 2012-07-15 22:52:54 +08:00
jiangfriend@gmail.com
a9365b216d fixes #16 compatible with neocomplcache 2012-07-06 17:44:57 +08:00
jiangfriend@gmail.com
559113fa2a fixes #18 compatible with clang_complete 2012-07-05 14:40:41 +08:00
jiangfriend@gmail.com
d0d077a57d Improve Fast Wrap
(|)"foo"     TO ("foo")
    (|)"\\f\"oo" TO ("\\f\"oo")
    (|)func()    TO (func())
2012-05-23 12:46:42 +08:00
jiangfriend@gmail.com
df761f3f28 Disable Fly mode by default. 2012-05-17 00:16:58 +08:00
jiangfriend@gmail.com
1f45d88a95 bump to v1.2.1 2012-05-15 15:09:14 +08:00
jiangfriend@gmail.com
49a24fc671 add some comments 2012-05-15 11:26:53 +08:00
jiangfriend@gmail.com
ff597df8e8 silent the <CR> mapping forcely 2012-05-15 11:10:40 +08:00
jiangfriend@gmail.com
ab206d7a5a fixes #14: sometimes press BS output strange words 2012-05-15 11:03:05 +08:00
jiangfriend@gmail.com
106578d69e support back insert for any situation 2012-05-14 20:04:46 +08:00
jiangfriend@gmail.com
eea7b44270 expand plug in map 2012-05-14 16:06:43 +08:00
jiangfriend@gmail.com
96f779b075 update comment 2012-05-14 15:26:40 +08:00
jiangfriend@gmail.com
82c649c522 compatible with vim-endwise, supertab. 2012-05-14 15:22:43 +08:00
jiangfriend@gmail.com
a01f22e5ad fixes #12 : comptible with supertab.vim 2012-05-14 14:23:22 +08:00
jiangfriend@gmail.com
331060ff4b New Feature: Fly Mode 2012-05-14 09:54:25 +08:00
jiangfriend@gmail.com
b6a478f891 bump to 1.1.6 2012-03-22 15:20:11 +08:00
jiangfriend@gmail.com
48232b5e3d fixes issue #9 Lowercase 'a' acute accent via opt-e not working
REMOVE g:AutoPairsShortcuts
ADD g:AutoPairsShortcutJump
2012-03-20 13:13:39 +08:00
jiangfriend@gmail.com
8026a0db4b Fixes #8 having errors with the double quotes when cpoptions is $ 2012-03-13 21:33:00 +08:00
jiangfriend@gmail.com
a452553602 avoid overriding imap silent flag 2012-03-06 23:24:50 +08:00
jiangfriend@gmail.com
1d5914910a always silent mapping 2012-03-06 23:12:55 +08:00
jiangfriend@gmail.com
fac14bec63 support deleting empty multi-line pair 2012-03-06 15:52:38 +08:00
jiangfriend@gmail.com
207107a684 Fixes #7: compatible with other plugin for key <CR> 2012-01-24 19:34:25 +08:00
jiangfriend@gmail.com
10f56aad0e NEW support ```, ''', """ 2012-01-17 13:17:21 +08:00
jiangfriend@gmail.com
6c3bcbca50 support ` 2012-01-17 13:14:56 +08:00
jiangfriend@gmail.com
9d554d08be fix close single quote incorrect 2011-12-30 16:05:37 +08:00
jiangfriend@gmail.com
7e4614d6aa add contributor list 2011-12-29 21:42:43 +08:00
Cam Thompson
e62479a542 Don't close single quotes when inside a word 2011-12-22 09:23:48 -05:00
jiangfriend@gmail.com
583d0a4196 update README 2011-12-22 12:30:04 +08:00
jiangfriend@gmail.com
d0fb9fe72b quick jump to the closed pair
{
      |
    }
    (press } at |)
    {

    }|
2011-12-21 18:29:04 +08:00
jiangfriend@gmail.com
6a4b2ca820 Improve AutoPairsMapSpace Feature
MapSpace now only works with [], {}, ()

Delete last two space with one backspace,

    [ | ], press <BS> at |, output: [|]

Smarter paren insertion

    [ foo| ], press ] at |, ouput: [ foo ]|
2011-12-14 17:08:33 +08:00
jiangfriend@gmail.com
75b6bfb804 Merge branch 'master' of https://github.com/camthompson/auto-pairs into map_space 2011-12-14 13:19:39 +08:00
jiangfriend@gmail.com
283e12bded Fixes auto indent incorrect in JavaScript 2011-12-14 13:17:27 +08:00
Cam Thompson
1522bff476 Add AutoPairsMapSpace option
When g:AutoPairsMapSpace == 1, a space key after a character in
AutoPairs will expand to a space after the previous character and a
space before the next character.

With ^ being the cursor position, pressing space will turn
[^] into [ ^ ].
2011-12-13 16:56:46 -05:00
jiangfriend@gmail.com
e0d5dab300 Fixes auto indent incorrect in CoffeeScript 2011-12-07 19:56:14 +08:00
jiangfriend@gmail.com
2d6a50c4b5 indent previous line after entering <CR>
https://github.com/jiangmiao/simple-javascript-indenter/issues/8
2011-11-14 17:10:18 +08:00
jiangfriend@gmail.com
f447d486c9 Optimize delete in pair 2011-11-13 16:47:49 +08:00
jiangfriend@gmail.com
c6d9506de8 Fix autopairs isn':t loaded when open new tab by mouse. 2011-11-13 16:39:45 +08:00
jiangfriend@gmail.com
3b74bdd5bf Fix auto indent incorrect in CoffeeScript
eg:
  foo:
    bar: [|]

press <CR> at |
2011-09-06 01:40:01 +08:00
jiangfriend@gmail.com
cfbbc888cf fix indent incorrect after {\<CR>} 2011-06-13 18:13:11 +08:00
jiangfriend@gmail.com
f2b2fdee43 use <expr> instead of <C-R> in map keys 2011-06-11 11:12:20 +08:00
jiangfriend@gmail.com
e379fa2316 Improve Fast Wrap on
a && |) b
e|) <foo>
2011-06-10 17:48:35 +08:00
jiangfriend@gmail.com
248d091b0a add option g:AutoPairsShortcutFastWrap 2011-06-10 02:36:51 +08:00
jiangfriend@gmail.com
c3469cf0fd Change function name AutoPairsExtend to AutoPairsFastWrap 2011-06-10 02:26:22 +08:00
jiangfriend@gmail.com
b0a61e7ab7 add Fast Wrap feature 2011-06-10 02:24:56 +08:00
jiangfriend@gmail.com
e893ae3d48 Use {<enter> instead of {{ (Thanks to linopolus)
https://github.com/jiangmiao/auto-pairs/issues/1

Add Toggle key
Add Options
  g:AutoPairsShortcutToggle
  g:AutoPairsMapBS
  g:AutoPairsMapCR
  g:AutoPairsCenterLine
2011-06-07 12:40:51 +08:00
jiangfriend@gmail.com
8d48d95dd8 Insert open brackets when current bracket is open bracket.
OLD:
|[] + [ => [|]
|"" + " => "|"
NOW:
|[] + [ => [|][]
|"" + " => "|"
2011-05-25 02:37:25 +08:00
jiangfriend@gmail.com
33e6d1e312 fix auto-pairs info 2011-05-24 19:31:55 +08:00
jiangfriend@gmail.com
0c2b3e2601 use autocmd and buffer key mapping 2011-05-24 19:26:32 +08:00
jiangfriend@gmail.com
7a10f7604c Fix sometimes <ESC> failde. 2011-05-24 19:07:26 +08:00
jiangfriend@gmail.com
d4acd6e014 release 1.0 2011-05-23 01:11:23 +08:00