Commit Graph

81 Commits

Author SHA1 Message Date
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