Hello,

Suppose I start vim, enter insert mode, write the text "foobar" and
exit insert mode. Then pressing "u" should undo this change, i.e.,
remove "foobar". This works as expected in "plain" vim, but not after
vim-latex has been loaded (say when I open a *.tex file and vim
recognizes that vim-latex needs to be loaded). What happens then is
that "u" only undoes one character at a time, i.e., it removes only
"r"; when pressing it again it removes "a", and so on.

To reproduce:
1. Start vim and load some *.tex file such that vim-latex is loaded.
2. Insert "foobar" somewhere in that buffer.
3. Press u.
(I have tried this with a .vimrc only conaining "filetype plugin on".)

Interestingly, closing the LaTeX file and opening any other buffer
(say with the :new command) does not make the problem go away. Even if
you start vim and open a *.tex file in a new tab, then the problem
suddenly appears also in the first ("virgin") tab.

Clearly, this behavior is not desired, but I can't make sense of it.
It used to work fine some time ago but might have been broken during
an update. I'm using Arch Linux with the vim-latexsuite package, but
the problem persists when using the latest version from Git. Vim has
version 7.3.

Hope this is not due to a silly mistake on my part. Thanks for the help.

Best regards
Bernhard

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
Vim-latex-devel mailing list
Vim-latex-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vim-latex-devel

Reply via email to