3 ms·
As far as I can see from this article, Sublime text is faster than vim. That's astonishing considering that Sublime uses GUI and vim is a console editor. I al
by drinchev 9y ago
As far as I can see from this article, Sublime text is faster than vim.
That's astonishing considering that Sublime uses GUI and vim is a console editor.
I also like vim, but Sublime + vintage ( vim-mode ) works good and you have the benefits of both worlds.
- rodorgas 9y agoSublime is only faster in startup time. It’s slower than vim on all others charts.
- Fnoord 9y agoTrue, slower than Vim, but: 1) Replacing 10000 words took Sublime 6 seconds instead of Vim 4 seconds. Both very quick compared to the competition. 2) It is nowhere near as bloated as VSCode or Atom. More comparisons here [1]. 3) In the "Rehighlight test" at [1], Vim is slower than Sublime as well. Vim fails with "Time to load 3 GB file, insert character at start and exit" [1] while Sublime loads in 75 seconds. Many editors choked on that. Some refused to try, other tried and failed/died. 4) Performance is going to differ per plugin and dotfile which is often a unique setup for pro users. 5) Arguably these don't compete with each other as Sublime is a GUI application while Vim is CLI. They don't necessarily attempt to cater to the same type of user. You could say the same about IDEs though. Sublime has the reputation of being a closed source (proprietary), portable (running on all 3 major GUI OSes), GUI text-editor which is very quick [2] and great for development, particularly because it can be extended via plugins, and being JSON under the hood (config files). Its even free to use for non-commercial use, and doesn't nag the user about a software license except for mentioning UNREGISTERED at the bottom right. I prefer open source software, but in closed source software this is about as honest, kind, friendly as it gets. [1] https://github.com/jhallen/joes-sandbox/tree/master/editor-perf https://github.com/jhallen/joes-sandbox/tree/master/editor-p... [2] Quick as being perceived, as well as proven by these benchmarks.
- checkgeeves 9y agoVim still runs in the same GUI environment tho, e.g gnome-terminal is no less of a GUI app than gnome-web or chrome (webview).
- adtac 9y agoThis is meaningless if the author doesn't show us their vimrc. (Neo)vim cold starts in 60 milliseconds for me (granted, I have an SSD). In any case, 4 seconds is super abnormal and it sounds like they have loaded their vimrc with every other plugin.
- kurtisc 9y agoVim used to be the sluggish editor of its time. Even now, repeating long macros takes a long time.