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

Type the closing character to jump to any closing delimiter #207

Open darvelo opened 9 years ago

darvelo commented 9 years ago

Hi, I just switched to delimitMate from vim-autoclose and so far it's working great! Thanks for making it work so well.

One feature of autoclose was being able to type the closing character to jump out to that closing character. Given this text and cursor (whether or not I just typed this text or moved to it from somewhere else):

{[(blah|blahblah)]}

Typing ] will put the cursor after the closing ]:

{[(blahblahblah)]|}

I would use <S-Tab> but it seems it only works this way when you're already at the closing delimiter. Do you think this can be easily implemented in delimitMate? Perhaps delimitMate_jump_expansion can also use this?