Slow

170 views
Skip to first unread message

Chris G

unread,
Feb 2, 2012, 1:49:00 AM2/2/12
to Janus - Vimius
Hi gang,

Amazing work on the environment. Just upgraded for the first time
since late summer. (sort of miss how elegant Command-T was, but I'm
sure I'll discover the benefits of the new plugins)

What are the top tips to get the thing faster? I'm on a recent Mac
Air, and where this thing used to click along quickly, it is now 2-3
seconds between opening files, switching tabs or buffers, very basic
stuff.

I don't have ctags installed.

I'm on a not-very-big rails project.

I do have a few .gvimrc.local customizations, but it's just colors,
fonts, and aliases.

Any suggestions appreciated.

Thanks,
Chris

Wael M. Nasreddine (a.k.a eMxyzptlk)

unread,
Feb 2, 2012, 6:39:22 AM2/2/12
to janus-...@googlegroups.com
Hey Chris,

Glad you like the new environment, however your ~/.gvimrc.local is not longer in effect you need to rename the file to either ~/.vimrc.before or ~/.vimrc.after. Please the the Customization page for more details.

As for slowness, I think it's because of the the huge number of plugins, which is what will be Vimius for, however I could't get enough time to finish it I apologize for being that late.. Anyway there's a workaround:
  • Disable ALL plugins as mentioned on the Troubleshooting page.
  • Enable the ones you really use, by opening the ~/.vimrc.before file and remove the call to janus#disable_plugin that corresponds to one(s) you need. Typically you need CtrlP (which is the new Command-T), colors and some langs

Let me know if that improves your workflow.

Wael

-- 
Wael Nasreddine: Design & Coding at TechnoGate
contact | wael.na...@gmail.com - +33.6.41.68.38.35 | skype - eMxyzptlk | Github - eMxyzptlk

--
You received this message because you are subscribed to the Google Groups "Janus - Vimius" group.
To post to this group, send email to janus-...@googlegroups.com.
To unsubscribe from this group, send email to janus-vimius...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/janus-vimius?hl=en.

Chris G

unread,
Feb 2, 2012, 6:27:59 PM2/2/12
to Janus - Vimius
Thanks Wael, I will experiment with plugins. I appreciate the
guidance. (And sorry, I had moved .gvimrc.local into .before
and .after -- those seem to be found just fine)

Chris

On Feb 2, 3:39 am, "Wael M. Nasreddine (a.k.a eMxyzptlk)"
<wael.nasredd...@gmail.com> wrote:
> Hey Chris,
>
> Glad you like the new environment, however your ~/.gvimrc.local is not longer in effect you need to rename the file to either ~/.vimrc.before or ~/.vimrc.after. Please the the Customization page (https://github.com/carlhuda/janus/wiki/Customization) for more details.
>
> As for slowness, I think it's because of the the huge number of plugins, which is what will be Vimius for, however I could't get enough time to finish it I apologize for being that late.. Anyway there's a workaround:
> Disable ALL plugins as mentioned on the Troubleshooting (https://github.com/carlhuda/janus/wiki/Troubleshooting) page.
> Enable the ones you really use, by opening the ~/.vimrc.before file and remove the call to janus#disable_plugin that corresponds to one(s) you need. Typically you need CtrlP (which is the new Command-T), colors and some langs
>
> Let me know if that improves your workflow.
>
> Wael
>
> --
> Wael Nasreddine: Design & Coding at TechnoGate (http://www.technogate.fr)
> contact | wael.nasredd...@gmail.com (mailto:wael.nasredd...@gmail.com) - +33.6.41.68.38.35 | skype - eMxyzptlk (skype:eMxyzptlk?add) | Github - eMxyzptlk (https://github.com/eMxyzptlk)
>
>
>
>
>
>
>
> On Thursday, February 2, 2012 at 7:49 AM, Chris G wrote:
> > Hi gang,
>
> > Amazing work on the environment. Just upgraded for the first time
> > since late summer. (sort of miss how elegant Command-T was, but I'm
> > sure I'll discover the benefits of the new plugins)
>
> > What are the top tips to get the thing faster? I'm on a recent Mac
> > Air, and where this thing used to click along quickly, it is now 2-3
> > seconds between opening files, switching tabs or buffers, very basic
> > stuff.
>
> > I don't have ctags installed.
>
> > I'm on a not-very-big rails project.
>
> > I do have a few .gvimrc.local customizations, but it's just colors,
> > fonts, and aliases.
>
> > Any suggestions appreciated.
>
> > Thanks,
> > Chris
>
> > --
> > You received this message because you are subscribed to the Google Groups "Janus - Vimius" group.
> > To post to this group, send email to janus-...@googlegroups.com (mailto:janus-...@googlegroups.com).
> > To unsubscribe from this group, send email to janus-vimius...@googlegroups.com (mailto:janus-vimius...@googlegroups.com).

Dane O'Connor

unread,
Feb 3, 2012, 1:31:08 AM2/3/12
to janus-...@googlegroups.com
Chris,

2-3 seconds sounds like a really long time. On my old laptop things are still extremely snappy. I think it's more likely that you have some mapping conflicts. Maybe some of the new plugins or new mappings. I'd try this, if you're seeing slow performance switching to NERDTree for instance, see how long it takes to run the command directly ``:NERDTree`` (I think). If it runs fast when used directly, then it's definitely a mapping issue. To diagnose, use the ``:map <your hotkey>`` to see if there are any mappings which look like ``map <your hotkey><something else>``. if you have some, vim is just waiting for the leader time out before executing the command.

You can find more info about mapping in the help.

Just some thoughts. Good Luck!

Dane (thedeeno)

To post to this group, send email to janus-...@googlegroups.com.
To unsubscribe from this group, send email to janus-vimius...@googlegroups.com.

Chris G

unread,
Feb 5, 2012, 10:19:39 PM2/5/12
to Janus - Vimius
That did help, thank you Dane!

Yehuda Katz

unread,
Feb 5, 2012, 10:32:55 PM2/5/12
to janus-...@googlegroups.com
What did you find out?

Yehuda Katz
(ph) 718.877.1325

Christopher J. Bottaro

unread,
May 11, 2012, 12:28:59 PM5/11/12
to janus-...@googlegroups.com
I'm also experiencing extreme slowness using Janus.  Mine seems to be related to syntax highlighting and tab completion.  It also seems to be related to the size/complexity if the files I'm editing.  Is there any way to tune these plugins to make them more performant?

Thanks,
-- C
To unsubscribe from this group, send email to janus-vimius+unsubscribe@googlegroups.com.

Adrian Rego

unread,
May 11, 2012, 1:36:04 PM5/11/12
to janus-...@googlegroups.com
What kind of files are you editing?  You can try disabling some plugins and hopefully isolate the culprit.

Christopher J. Bottaro

unread,
May 31, 2012, 3:30:22 PM5/31/12
to janus-...@googlegroups.com
Figured it out:  foldmethod=syntax

Changing it to foldmethod=manual fixed all the slowness.

-- C

Wael M. Nasreddine

unread,
May 31, 2012, 6:00:12 PM5/31/12
to janus-...@googlegroups.com
Hey,

Is that something set in Janus ? I don't remember setting foldmethod in Janus configuration files.

Cheers,
Wael

-- 
Wael Nasreddine: Design & Coding at TechnoGate
contact | wael.na...@gmail.com - +33.6.51.24.04.34 | skype - eMxyzptlk | Github - eMxyzptlk

To view this discussion on the web visit https://groups.google.com/d/msg/janus-vimius/-/_hA54b903JkJ.

To post to this group, send email to janus-...@googlegroups.com.
To unsubscribe from this group, send email to janus-vimius...@googlegroups.com.

Christopher J. Bottaro

unread,
May 31, 2012, 6:22:41 PM5/31/12
to janus-...@googlegroups.com
I don't think so.  I set that in my .vimrc.after.

Kinda stinks, I actually use code folding a lot (which requires foldmethod=syntax), but I have to turn it off or vim becomes unusably slow.  Not sure what to do.

I've actually found out that it's the combination of syntax highlighting (Ruby) and foldmethod=syntax.  The slowness is resolved by turning off either one… I just chose foldmethod since I can't live without syntax highlighting… :P

-- C

Reply all
Reply to author
Forward
0 new messages