Add documentation for AutoPairsMapSpace
This commit is contained in:
parent
1522bff476
commit
21b4b1062c
12
README.md
12
README.md
@ -25,6 +25,11 @@ Features
|
||||
|
|
||||
}
|
||||
|
||||
* Insert spaces before closing characters
|
||||
|
||||
input: {|} (press <SPACE> at |)
|
||||
output: { | }
|
||||
|
||||
* Skip closed bracket.
|
||||
|
||||
input: []
|
||||
@ -105,6 +110,13 @@ Options
|
||||
|
||||
When g:AutoPairsMapCR is on, center current line after return if the line is at the bottom 1/3 of the window.
|
||||
|
||||
* g:AutoPairsMapSpace
|
||||
|
||||
Default : 1
|
||||
|
||||
Map <space> to insert a space after the opening character and before the closing one.
|
||||
execute 'inoremap <buffer> <silent> <CR> <C-R>=AutoPairsReturn()<CR>'
|
||||
|
||||
TroubleShooting
|
||||
---------------
|
||||
The script will remap keys ([{'"}]) <BS>,
|
||||
|
Loading…
x
Reference in New Issue
Block a user