Live data from Hacker News

Switching to Sublime Text from Vim in 2017

eduardobautista.com

21–30 of 71 posts

Re: Switching to Sublime Text from Vim in 2017

#22

To go to the reverse route, I'm a SublimeText and Vim user that's debating going back to pure vim. Much of the functionality that I used ST for I found Vim could do naturally, with no plugins. This presentation taught me alot ( https://www.youtube.com/watch?v=3TX3kV3TICU ), such as basic command completion. There is some stuff that Sublime can still do that I don't think Vim can (multi-cursor editing comes to mind, a…

> There is some stuff that Sublime can still do that I don't think Vim can (multi-cursor editing comes to mind, and that's still really handy when I'm making edits to HTML) […].

https://github.com/terryma/vim-multiple-cursors

I use this with NeoVim and it works perfectly.

Re: Switching to Sublime Text from Vim in 2017

#23
I've recently switched from Sublime Text to Atom. I've used Sublime for a few years and was very unimpressed when I first installed Atom 2 years ago. For a long time it remained slow and clunky, but recently not only did they improve performance significantly but also made the whole user experience much easier and pleasant.

I suggest taking a look at Atom before spending money on Sublime. The number of plugins and extension is just enormous. You might get surprised.

Re: Switching to Sublime Text from Vim in 2017

#24

I would recommend vim-easymotion and command-t for a big speed improvement over relativenumbers and CtrlP. In my experience Sublime is _much_ slower than Vim.

That's odd. I switched from Command-T to CtrlP a couple years ago for speed. I wonder now if I should look again.

Re: Switching to Sublime Text from Vim in 2017

#25

I only have two comments: > Any popular editor usually has a “Vim mode” that you can install and you can achieve native Vim productivity. I would editorialize this to say "closish to native vim productivity", since there are virtually no vim mode plugins for popular editors which offer a complete set of vim features. Even EVIL mode (as of the last time I checked it) has a few notable discrepancies which arise from ma…

I think a lot of us can agree with the last bit, but that said VS Code is actually pretty darn nice.

In my opinion, the fact that VS Code performs well is not something to be praised. For such a minimalistic code editor, good performance should be one of absolute minimum requirements.

The domain of minimal code editors is well explored and quite mature, and the platforms upon which VC runs are all quite stable with well known performance characteristics. If we can't make software work well under these conditions, we have bigger problems that we need to address.

Re: Switching to Sublime Text from Vim in 2017

#26
post #19

Earlier quoted context omitted.

The tab-autocomplete when you hit the ":" key gives out written suggestions. All the plugins you know and love with Vim should work, and you can write new plugins in virtually language. New features tend to reach NeoVim faster than with regular Vim; most notably async support. NeoVim used the XDG system for configs, so it doesn't pollute your home folder with a bunch of dotfiles. And this might just be in my head, bu…

> The tab-autocomplete when you hit the ":" key gives out written suggestions. Can you explain this a bit more - how does this differ from vim's tab completion for ex commands? :e ~/.vim^I .vim/ .viminfo .vimrc :help ctrlp- 'ctrlp- ' ctrlp-options [...]

Looks like I lied (or was using an old version of Vim a few years ago). I just tried it on my machine and got the tab autocomplete with written suggestions in both Vim and NeoVim.

My bad!

Re: Switching to Sublime Text from Vim in 2017

#28

I've recently switched from Sublime Text to Atom. I've used Sublime for a few years and was very unimpressed when I first installed Atom 2 years ago. For a long time it remained slow and clunky, but recently not only did they improve performance significantly but also made the whole user experience much easier and pleasant. I suggest taking a look at Atom before spending money on Sublime. The number of plugins and ex…

I tried to use Atom for a while, but it becomes slow once you load a few projects. With Sublime or Vim i can have more than 4 instances and it stills runs smooth, but Atom starts lagging and feels heavy.

Re: Switching to Sublime Text from Vim in 2017

#29
post #2

Is VIM with plugins really that slow compared to Sublime Text? I'm curious what plugins OP was talking about.

Yes, just look for the most popular plugins. Or try using a popular "dotfiles" configuration, compare it with a raw Vim and it's really slow. With sublime you can have a lot of plugins and it doesn't affect the speed.

Re: Switching to Sublime Text from Vim in 2017

#30
In 20 years of coding, the use of vim or emacs has never quite clicked with me. I get that they're infinitely scriptable but the basic experience of using them just seems so miserable. Sublime is one of my favorite programs ever, for the reason that I so rarely have to think about it or wait for it. Some of the best money you'll ever spend, in my view.
Post reply on HN