News for hackers. Stuff that matters.
Re:Why I Still Use Vim by drinchev on Thursday January 04, 2018 @03:23AM (#16068769)
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.

Re:Why I Still Use Vim by adtac on Thursday January 04, 2018 @04:47AM (#16069081)
This 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.
Re:Why I Still Use Vim by rodorgas on Thursday January 04, 2018 @04:10AM (#16068941)
Sublime is only faster in startup time. It’s slower than vim on all others charts.
Re:Why I Still Use Vim by Fnoord on Thursday January 04, 2018 @07:25AM (#16069805)
True, 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-p...

[2] Quick as being perceived, as well as proven by these benchmarks.

Re:Why I Still Use Vim by kurtisc on Thursday January 04, 2018 @05:34AM (#16069259)
Vim used to be the sluggish editor of its time. Even now, repeating long macros takes a long time.