Add explanation about delimitMate_jump_expansion. Close #137.

This commit is contained in:
Israel Chauca Fuentes
2013-12-18 12:04:00 -05:00
parent 2dc880bf1c
commit 5787ec4f59

View File

@@ -388,7 +388,10 @@ Expand <CR> to: >
| ) | )
< <
NOTE that the expansion of <CR> will break the redo command. When you have |'delimitMate_jump_expansion'| enabled, if there is an existing
closing paren/bracket/etc. on the next line, delimitMate will make the cursor
jump over any whitespace/<CR> and place it after the existing closing
delimiter instead of inserting a new one.
Since <Space> and <CR> are used everywhere, I have made the functions involved Since <Space> and <CR> are used everywhere, I have made the functions involved
in expansions global, so they can be used to make custom mappings. Read in expansions global, so they can be used to make custom mappings. Read
@@ -398,8 +401,7 @@ in expansions global, so they can be used to make custom mappings. Read
3.3 BACKSPACE *delimitMateBackspace* 3.3 BACKSPACE *delimitMateBackspace*
If you press backspace inside an empty pair, both delimiters are deleted. When If you press backspace inside an empty pair, both delimiters are deleted. When
expansions are enabled, <BS> will also delete the expansions. NOTE that expansions are enabled, <BS> will also delete the expansions.
deleting <CR> expansions will break the redo command.
If you type <S-BS> (shift + backspace) instead, only the closing delimiter If you type <S-BS> (shift + backspace) instead, only the closing delimiter
will be deleted. NOTE that this will not usually work when using Vim from the will be deleted. NOTE that this will not usually work when using Vim from the