Commit Graph

51 Commits

Author SHA1 Message Date
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
80c6af14a2 expandtab 2012-05-14 14:23:08 +08:00
jiangfriend@gmail.com
dceeb70a93 Update README 2012-05-14 10:19:58 +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
21b4b1062c Add documentation for AutoPairsMapSpace 2011-12-13 17:10:23 -05: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
4f55278039 update README 2011-06-10 02:32:17 +08:00
jiangfriend@gmail.com
9112c538b5 Merge branch 'master' of github.com:jiangmiao/auto-pairs 2011-06-10 02:26:52 +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
bb0b47e4a1 fast wrap 2011-06-10 02:23:47 +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