Update AutoPairs.txt

This commit is contained in:
scrouthtv 2021-01-13 17:14:45 +01:00 committed by GitHub
parent ab18d40b44
commit 69346a882b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -159,11 +159,16 @@ Fly Mode is DISABLED by default. To enable Fly Mode add following to your
'.vimrc': >
let g:AutoPairsFlyMode = 1
The brackets that will trigger Fly Mode can be set using
let g:AutoPairsFlyBrackets = '\v[\}\]]'
Default Options: >
let g:AutoPairsFlyMode = 0
let g:AutoPairsShortcutBackInsert = '<M-b>'
let g:AutoPairsFlyBrackets = '\v[\}\]\)]'
==============================================================================
4. Shortcuts *autopairs-shortcuts*
@ -315,6 +320,16 @@ Default: 0
Set it to 1 to enable |autopairs-flymode|.
*g:AutoPairsFlyBrackets*
|g:AutoPairsFlyBrackets| string
Default: '\v[\}\]\)]'
Set it to a RegExp that should match Brackets which will trigger Fly Mode.
By setting it to '\v[\}\]]' for example, only "}" and ")" will make the cursor
jump to the closing bracket, and ) inserts a ).
*g:AutoPairsMultilineClose*
|g:AutoPairsMultilineClose| int