Vim-LaTeX – Solving Extra Brackets Issue When Typing Empty Brackets

vimvim-latex

I just installed the vim latex-suite plugin. Whenever I type empty brackets, parentheses, or braces, I get an extra pair of them, and I am moved to the middle of the new pair and put into insert mode.

i.e. after typing

{}

I get

{}{}

with the cursor between the second pair of empty braces.

How can I disable this?

Best Answer

Checkout your vim setting of backspace via :set backspace?. If it doesn't contain start you should add this :set backspace+=start (help :h 'backspace') to get the expected behavior of vim-latex.

Honestly, I think this should be noted somewhere in the vim-latex documentation or even set automatically by the plugin since it relies on it.