diff --git a/README.md b/README.md index 529cf32..28aeffe 100644 --- a/README.md +++ b/README.md @@ -80,44 +80,44 @@ Features * Fly Mode - input: if(a[3) - output: if(a[3])| (In Fly Mode) - output: if(a[3)]) (Without Fly Mode) + input: if(a[3) + output: if(a[3])| (In Fly Mode) + output: if(a[3)]) (Without Fly Mode) - input: - { - hello();| - world(); - } + input: + { + hello();| + world(); + } - (press } at |) + (press } at |) - output: - { - hello(); - world(); - }| + output: + { + hello(); + world(); + }| - (then press at | to do backinsert) - output: - { - hello();}| - world(); - } + (then press at | to do backinsert) + output: + { + hello();}| + world(); + } - See Fly Mode section for details + See Fly Mode section for details Fly Mode -------- - Fly Mode will always force closed-pair jumping instead of inserting. only for ")", "}", "]" - If jumps in mistake, could use AutoPairsBackInsert(Default Key: ) to jump back and insert closed pair. - the most situation maybe want to insert single closed pair in the string, eg ")" + Fly Mode will always force closed-pair jumping instead of inserting. only for ")", "}", "]" + If jumps in mistake, could use AutoPairsBackInsert(Default Key: ) to jump back and insert closed pair. + the most situation maybe want to insert single closed pair in the string, eg ")" - Default Options: + Default Options: - let g:AutoPairsFlyMode = 1 - let g:AutoPairsShortcutBackInsert = '' + let g:AutoPairsFlyMode = 1 + let g:AutoPairsShortcutBackInsert = '' Shortcuts --------- @@ -128,7 +128,7 @@ Shortcuts : Toggle Autopairs (g:AutoPairsShortcutToggle) : Fast Wrap (g:AutoPairsShortcutFastWrap) : Jump to next closed pair (g:AutoPairsShortcutJump) - : BackInsert + : BackInsert If or conflict with another keys or want to bind to another keys, add @@ -189,17 +189,17 @@ Options Map to insert a space after the opening character and before the closing one. execute 'inoremap =AutoPairsSpace()' -* g:AutoPairsFlyMode +* g:AutoPairsFlyMode - Default : 1 + Default : 1 - see FlyMode section for details. + see FlyMode section for details. -* g:AutoPairsShortcutBackInsert +* g:AutoPairsShortcutBackInsert - Default : + Default : - Work with FlyMode, insert the key at the Fly Mode jumped postion + Work with FlyMode, insert the key at the Fly Mode jumped postion TroubleShooting ---------------