From 21b4b1062c035f997053a922a60ede4ccab328ee Mon Sep 17 00:00:00 2001 From: Cam Thompson Date: Tue, 13 Dec 2011 17:05:59 -0500 Subject: [PATCH] Add documentation for AutoPairsMapSpace --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 709938e..6fe619a 100644 --- a/README.md +++ b/README.md @@ -25,6 +25,11 @@ Features | } +* Insert spaces before closing characters + + input: {|} (press 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 to insert a space after the opening character and before the closing one. + execute 'inoremap =AutoPairsReturn()' + TroubleShooting --------------- The script will remap keys ([{'"}]) ,