Update README

This commit is contained in:
Miao Jiang 2016-03-28 03:14:12 +08:00
parent 65a7237b2b
commit 15256d0e94

View File

@ -202,6 +202,12 @@ Options
Map <BS> to delete brackets, quotes in pair Map <BS> to delete brackets, quotes in pair
execute 'inoremap <buffer> <silent> <BS> <C-R>=AutoPairsDelete()<CR>' execute 'inoremap <buffer> <silent> <BS> <C-R>=AutoPairsDelete()<CR>'
* g:AutoPairsMapCh
Default : 1
Map <C-h> to delete brackets, quotes in pair
* g:AutoPairsMapCR * g:AutoPairsMapCR
Default : 1 Default : 1
@ -272,17 +278,20 @@ TroubleShooting
3. use DEL or <C-O>x to delete the character insert by plugin. 3. use DEL or <C-O>x to delete the character insert by plugin.
* Swedish Character Conflict
Because AutoPairs uses Meta(Alt) key as shortcut, it is conflict with some Swedish character such as å.
To fix the issue, you need remap or disable the related shortcut.
Known Issues Known Issues
----------------------- -----------------------
There are the issues I cannot fix.
Breaks '.' - [issue #3](https://github.com/jiangmiao/auto-pairs/issues/3) Breaks '.' - [issue #3](https://github.com/jiangmiao/auto-pairs/issues/3)
Description: After entering insert mode and inputing `[hello` then leave insert Description: After entering insert mode and inputing `[hello` then leave insert
mode by `<ESC>`. press '.' will insert 'hello' instead of '[hello]'. mode by `<ESC>`. press '.' will insert 'hello' instead of '[hello]'.
Reason: `[` actually equals `[]\<LEFT>` and \<LEFT> will break '.' Reason: `[` actually equals `[]\<LEFT>` and \<LEFT> will break '.'.
Solution: none After version 7.4.849, Vim implements new keyword <C-G>U to avoid the break
Solution: Update Vim to 7.4.849+
Contributors Contributors
------------ ------------