jiangmiao / auto-pairs

Vim plugin, insert or delete brackets, parens, quotes in pair
http://www.vim.org/scripts/script.php?script_id=3599
4.09k stars 373 forks source link

AutoPair disable by default #359

Open cirofabianbermudez opened 1 year ago

cirofabianbermudez commented 1 year ago

Is there a way to have the plugin installed but be disable by default?

LunarWatcher commented 1 year ago

You can set up an autocmd to set b:autopairs_enabled to 0 whenever a new buffer is created.

This does still create the keybinds and whatnot (implementation detail), so may not be what you want