Skip to content
This repository was archived by the owner on Oct 16, 2019. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 16 additions & 3 deletions doc/AutoClose.txt
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,11 @@ will not insert the closing character for you.
2. Features |ac_features|
3. Configuring |ac_config|
3.1 Defining characters to auto close |ac_charstoclose|
3.2 Defining protected regions |ac_protectedregions|
3.3 Turning AutoClose on and off |ac_turnon|
3.4 Selection wrap prefix |ac_wrapPrefix|
3.2 Configuration helper functions
3.3 Defining protected regions |ac_protectedregions|
3.4 Turning AutoClose on and off |ac_turnon|
3.5 Selection wrap prefix |ac_wrapPrefix|
3.6 Expanding enter |ac_expandEnterOn|
4. Under the hood |ac_details|
4.1 Mappings |ac_mappings|

Expand Down Expand Up @@ -273,6 +275,17 @@ visual mode. Examples:

" hide the sacrilege from the gods of vim:
autocmd FileType vim let b:AutoCloseSelectionWrapPrefix="<Leader>a"
<
*ac_expandEnterOn* *AutoCloseExpandEnterOn*

3.6 Expanding enter~

Set to a list of open characters to expand enter on. This means that
when the user types enter after an opening character, the cursor will move
to the next line and the closing character will be put on a newline below
the cursor. Example:
>
let g:AutoCloseExpandEnterOn="([{"
<
==============================================================================
*ac_details*
Expand Down