Raimondi / delimitMate

Vim plugin, provides insert mode auto-completion for quotes, parens, brackets, etc.
http://www.vim.org/scripts/script.php?script_id=2754
1.98k stars 117 forks source link

Minor Doc: delimitMate_jump_expansion #137

Closed saamalik closed 10 years ago

saamalik commented 11 years ago

The delimitMate_jump_expansion is a very useful option, but I feel like it's not adequately explained in the doc file. The doc mentions Read |delimitMateExpansion| for details but there's no mention of the option in that section.

When this option is enabled, typing a closing matchpair (}, ), etc..) will jump to the the character if it's on the next line.

For example:

function a() {
   console.log('hello'); |
 }

Typing } at the cursor position | will move the cursor to right after the closing brace on Line 3 without inserting another } character.