diff --git a/README.md b/README.md index d400eb0..52a1dc4 100644 --- a/README.md +++ b/README.md @@ -248,9 +248,11 @@ Compatible with viki - [issue #25](https://github.com/jiangmiao/auto-pairs/issue Description: When works with viki `` will output viki#ExprMarkInexistentInElement('ParagraphVisible','') Reason: viki uses `` on mapping `` that auto-pairs cannot expanding. - Solution A: add `let g:AutoPairsMapCR = 0` to .vimrc to disable `` mapping. - Solution B: add `autocmd filetype viki inoremap =viki#ExprMarkInexistentInElement('ParagraphVisible',"\n")=AutoPairsReturn()` to .vimrc - Remarks: Solution B need NOT add `let g:AutoPairsMapCR = 0` to .vimrc, if still cannot work for Solution B, then have to use Solution A to disable auto-pairs ``. + 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. + It will auto-pairs will no remap '' + 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)