DEV Community

loading...

Discussion on: Vim won't make you a more productive developer

Collapse
chiefnoah profile image
Noah Pederson • Edited

I disagree, it depends heavily on your plugins. I've had my vim slow to a crawl (full seconds between key presses and actions) because an environment variable wasn't set.

That isn't to say Electron based editors are fast either, they aren't. But VS Code is 'good enough' and has an insane number of plugins.

Thread Thread
fenetikm profile image
Michael Welford

You can profile syntax highlighting by running :syntime on, moving around, then running :syntime report. Then fix it :)

Thread Thread
chiefnoah profile image
Noah Pederson

The issue was actually caused by vim-powerline and some locale variables being not set. Not really the syntax highlighting, but thanks for the info :)

Thread Thread
fenetikm profile image
Michael Welford

Great to hear. Personally I switched to lightline which is quite a bit leaner with respect to performance. I also removed git information from my statusline as I found that to sometimes cause a performance hit (although I didn't bother trying to fix it to update async).

Forem Open with the Forem app