cannot remove leftover of Automatic Latex Plugin

158 views
Skip to first unread message

fengjian

unread,
Nov 8, 2012, 9:55:51 AM11/8/12
to vim...@googlegroups.com
Hi,

I just installed Automatic Latex Plugin (a vimball) to my gvim (v7.3.46) on Windows 7 with pathogen. I did not do any change to me vimrc file. Simply put all its stuff under pathogen's bundle directory. But I found this plugin was too slow to use and decided to remove it. So I removed the "Automatic Latex Plugin" directory under bundle. Then strange thing happened. The mappings made by Automatic Latex Plugin is still taking effect, such as n V :call atplib#motion#StartVisual('v'). And I did not find any string like "atplib" in my whole VIM directory with grep. Does anyone have any idea? Thanks.

Fengjian

Ben Fritz

unread,
Nov 8, 2012, 10:51:33 AM11/8/12
to vim...@googlegroups.com
On Thursday, November 8, 2012 8:55:51 AM UTC-6, fengjian wrote:
> Hi,
>
> I just installed Automatic Latex Plugin (a vimball) to my gvim (v7.3.46) on Windows 7 with pathogen. I did not do any change to me vimrc file. Simply put all its stuff under pathogen's bundle directory. But I found this plugin was too slow to use and decided to remove it. So I removed the "Automatic Latex Plugin" directory under bundle. Then strange thing happened. The mappings made by Automatic Latex Plugin is still taking effect, such as n V :call atplib#motion#StartVisual('v'). And I did not find any string like "atplib" in my whole VIM directory with grep. Does anyone have any idea? Thanks.
>

Perhaps you are launching Vim with a session file or restoring a view? This could be done automatically as well. Session files and view files can store mappings (I've turned this off, I consider restoring mappings in this way to be almost completely useless).

Jiang Wu

unread,
Nov 8, 2012, 11:16:27 AM11/8/12
to vim...@googlegroups.com
Hi Ben,

You got it. That is exactly where the problem is. Now solved. Thank
you very much.

Fengjian
> --
> You received this message from the "vim_use" maillist.
> Do not top-post! Type your reply below the text you are replying to.
> For more information, visit http://www.vim.org/maillist.php

Marcin Szamotulski

unread,
Nov 8, 2012, 11:18:18 AM11/8/12
to vim...@googlegroups.com
Hi,

Can I ask what was slow?

ATP dev,

best,
Marcin

Jiang Wu

unread,
Nov 8, 2012, 11:36:40 AM11/8/12
to vim...@googlegroups.com, Marcin Szamotulski
Hi Marcin,

Here is what I found. Without atp, my hjkl keys were very responsive
so that the cursor was always following my keys and I did not feel any
delay. But with atp, the cursor is lagging the key quite noticeable.

Marcin Szamotulski

unread,
Nov 8, 2012, 11:59:35 AM11/8/12
to Vim Use
On 11:36 Thu 08 Nov , Jiang Wu wrote:
> Hi Marcin,
>
> Here is what I found. Without atp, my hjkl keys were very responsive
> so that the cursor was always following my keys and I did not feel any
> delay. But with atp, the cursor is lagging the key quite noticeable.
>
Thanks for the answer.

Have you tried LatexBox?

This might be because of the matching parents. I haven't touched the vim
syntax file which is huge and makes vim a little bit slower when editing
tex files.

Best,
Marcin

ps. This list prefer bottom posting rather than top one.

Marcin Szamotulski

unread,
Nov 8, 2012, 12:33:03 PM11/8/12
to Vim Use
There is one more thing which might slow down vim: the 'relativenumber'
setting. You can also check:

:he tex-slow
:he tex-folding

Best,
Marcin

fengjian

unread,
Nov 8, 2012, 1:50:23 PM11/8/12
to vim...@googlegroups.com

Hi Marcin,

Thanks for the ideas. I will try them out. :)

Fengjian

Reply all
Reply to author
Forward
0 new messages