From a9f53155e8d913b74f89ce3eed87e9c12ca65ea0 Mon Sep 17 00:00:00 2001 From: Miao Jiang Date: Sat, 16 Feb 2013 14:02:13 +0800 Subject: [PATCH] Update README. --- README.md | 33 ++++++++++++++++++++++----------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 0f1a8aa..0e4d08d 100644 --- a/README.md +++ b/README.md @@ -83,7 +83,18 @@ Features ''' output: - ''' + '''|''' + +* Delete Repeated Pairs in one time + + input: """|""" (press at |) + output: | + + input: {{|}} (press at |) + output: | + + input: [[[[[[|]]]]]] (press at |) + output: | * Fly Mode @@ -259,7 +270,7 @@ Compatible with Vimwiki - [issue #19](https://github.com/jiangmiao/auto-pairs/is Description: When works with vimwiki `` will output `xx_CR()` Reason: vimwiki uses `` on mapping `` that auto-pairs cannot expanding. Solution A: Add - + " Copy from vimwiki.vim s:CR function for CR remapping function! VimwikiCR() let res = vimwiki#lst#kbd_cr() @@ -269,23 +280,23 @@ Compatible with Vimwiki - [issue #19](https://github.com/jiangmiao/auto-pairs/is return res endfunction autocmd filetype vimwiki inoremap =VimwikiCR()=AutoPairsReturn() - + to .vimrc, it will make vimwiki and auto-pairs 'Return' feature works together. Solution B: add `let g:AutoPairsMapCR = 0` to .vimrc to disable `` mapping. - + Compatible with viki - [issue #25](https://github.com/jiangmiao/auto-pairs/issues/25) - + Description: When works with viki `` will output viki#ExprMarkInexistentInElement('ParagraphVisible','') Reason: viki uses `` on mapping `` that auto-pairs cannot expanding. - Solution A: Add - - autocmd filetype viki inoremap =viki#ExprMarkInexistentInElement('ParagraphVisible',"\n")=AutoPairsReturn()` - + Solution A: Add + + autocmd filetype viki inoremap =viki#ExprMarkInexistentInElement('ParagraphVisible',"\n")=AutoPairsReturn()` + to .vimrc, it will make viki and auto-pairs works together. - + Solution B: add `let g:AutoPairsMapCR = 0` to .vimrc to disable `` mapping. - + Remarks: Solution A need NOT add `let g:AutoPairsMapCR = 0` to .vimrc, if Solution A still cannot work, then have to use Solution B to disable auto-pairs ``. Breaks '.' - [issue #3](https://github.com/jiangmiao/auto-pairs/issues/3)