carlhuda / janus

Vim distribution
7.88k stars 814 forks source link

Slow to open vim on Raspberry Pi #702

Open emmanuelgeoffray opened 6 years ago

emmanuelgeoffray commented 6 years ago

Hello, I love janus and use it on all the computers in my hands. But on the raspberry pi, it is a bit slow to opens. Something like 3 seconds. Without janus, opening vim is blazing fast.

Does someone has any hint on which plugin I could try to deactivate to make it faster?

Best! Emmanuel

kalbasit commented 6 years ago

I'm not really sure, but I wouldn't be surprised. Janus is pretty heavy (due to the number of plugins it's loading). I suggest disabling all the plugins (see https://github.com/carlhuda/janus/wiki/Customization#disabling-a-plugin) and enable one by one until you find the culprit.

Please report your findings, I'll try to scope the plugin to non-RPi.

emmanuelgeoffray commented 6 years ago

thank you for your prompt reply. I will try this and let you know the results. Best, Emmanuel

2018-07-28 0:28 GMT+02:00 Wael Nasreddine notifications@github.com:

I'm not really sure, but I wouldn't be surprised. Janus is pretty heavy (due to the number of plugins it's loading). I suggest disabling all the plugins (see https://github.com/carlhuda/janus/wiki/Customization# disabling-a-plugin) and enable one by one until you find the culprit.

Please report your findings, I'll try to scope the plugin to non-RPi.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/carlhuda/janus/issues/702#issuecomment-408554236, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxUmrEeD6WVM96L7XOkL2x0CnULIs2Gks5uK5P5gaJpZM4VjNmp .

emmanuelgeoffray commented 6 years ago

do you already have a file that disables all the plugin? There's a lot of plugins here: https://github.com/carlhuda/janus/blob/master/.gitmodules Should I copy/paste every plugin in this list? e.g.

call janus#disable_plugin('unimpaired') 
call janus#disable_plugin('nerdcommenter') 
...
kalbasit commented 6 years ago

@emmanuelgeoffray, unfortunately, no, but it's easy for you to just sed/awk to generate the file.