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

Add 2 User events when mapping and unmapping #201

Closed lilyball closed 9 years ago

lilyball commented 9 years ago

delimitMate has some nice logic for doing per-filetype mappings, but this logic can't be used when users provide mappings directly. To remedy this, add two User events delimitMate_map and delimitMate_unmap that are fired at the appropriate times. Users can use these events to define per-filetype mappings just as delimitMate does.

Raimondi commented 9 years ago

Thanks!