Add documentation for AutoPairsMapSpace

This commit is contained in:
Cam Thompson 2011-12-13 17:05:59 -05:00
parent 1522bff476
commit 21b4b1062c

View File

@ -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>,