init.vimango
init.vimango copied to clipboard
Decide on an auto brackets closing plugin
Decide what bracket auto closing plugin do you use.
From what i have seen, those options seem to be the best:
- autopairs: Works, mature, configurable. currently installed.
- cons: vimscript, so not very fast.
- Result: has many small bugs, annoying so and its better without it.
- lexima: seems to work, mature, supports dot operator. currently installed.
- cons: vimscript, so not very fast.
- Result: works well enough, but 1)Requires a hack so that closing pair is only inserted b4 whitespace. 2)Wont remove auto created closing bracket when its typed after an expansion.
- vim-gimini: works, much shorter so probably more lightweight then the others.
- cons: no serious developement, was made just for fun.
- Result: Works but 1)bug-wont expand after <CR>. 2)like lexima (2).
- pear-tree: New and is still being developed.
- Result: works but 1)dot feature is broken with nested brackets. 2)like lexima (2).
lexima works better than autopairs, but its still a bit buggy and make cursor tinker a lot. its also not the fastest. seems like currently there is no ideal close-brackets solution for vim. Might need to create one myself (maybe as a builtin feature written in cpp and not as a plugin).