mirror of
https://github.com/Raimondi/delimitMate.git
synced 2025-12-06 12:44:27 +08:00
1dfe26a5385de33cd7d9a0175c4fa89defd88386
Benamin Fritz reported the following: Without the "zv", if the user has syntax folding on, when the mapping invokes <Esc> the pair of braces which were just separated by a <CR> could become folded, so that the trailing "o" opens a new line AFTER the pair.
This plug-in provides automatic closing of quotes, parenthesis, brackets, etc., besides some other related features that should make your time in insert mode a little bit easier, like syntax awareness (will not insert the closing delimiter in comments and other configurable regions), <CR> and <Space> expansions (off by default), and some more. Most of the features can be modified or disabled permanently, using global variables, or on a FileType basis, using :autocmd. With a couple of exceptions and limitations, these features don't break undo, redo or history.
Description
Languages
Vim Script
94.1%
Makefile
5.9%