#43 Inconsistent behavior with vim undo

v1.0 (example)
open
nobody
None
1
2014-02-06
2013-08-12
Adriaan
No

Thanks for making vim-latex suite! It beautifully brings two of my favorite worlds together.

Although I've discovered that it changes the behavior of undo in vim. While natively vim creates one undo entry per insert, vim-latex changes this behavior by creating an entry per character. So for example: when I open a tex document in vim and do the following:

<i>vim-latex is awesome<Esc><u>

The entire line is undone, but when I enable vim-latex, it only undoes the last 'e' in the typed text.

Googling didn't result in any answers and the vim-latex docs don't seem to cover any configuration options related to undo. I even tried grepping the word 'undo' in the latex-suite directory of the vim configuration, but that didn't get my any further either.

I don't see any reason why the plugin should change the way undo works, or at least it should be configurable.

I installed the plugin with yaourt, the community package manager for Arch Linux. yaourt -Q | grep vim-latex outputs the following:

community/vim-latexsuite 20130126-1 (vim-plugins)

The version of vim I'm using is 7.3.

Discussion


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks