Live data from Hacker News

Switching to Sublime Text from Vim in 2017

eduardobautista.com

1–10 of 71 posts

Re: Switching to Sublime Text from Vim in 2017

#3
For me, the biggest advantage of VIM is vim-tmux-navigator, which makes navigating between vim splits and tmux panes seamless. Pressing CTRL-{h,j,k,l} navigates to the next split or pane in that direction.

I don't think I'll ever be able to switch to a GUI editor unless I can navigate between that editor's splits and my tmux panes in the same way.

Re: Switching to Sublime Text from Vim in 2017

#4
post #2

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

The plugins the OP was using are pretty heavy, the real question to ask if they're necessary. Just using the default netrw over Ctrl-P is a great alternative with little or no cfg. Syntastic is overkill IMO, just use an IDE at this point - Also using silver search is great, but not necessary if you understand how to Grep.

Honestly the author just lacked the time and knowledge to go ahead and learn basic bash tools and utilize them.

Re: Switching to Sublime Text from Vim in 2017

#5
post #2

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

Even basic highlighting and the mentioned relative linenumbers will put VIM to sleep. Which honestly is absolutely pathetic (and a know problem which was never fixed).

The file opener/finder ctrlp is kind of slow as well (there is a different search engine for it which is an order of a magnitude faster).

I really like the vim keybindings and just use ideaVim plugin for intellij which can do all the vim stuff i need and has the ide functionality on top. And it is faster as well (at least it can do relative line numbers without dying)

Re: Switching to Sublime Text from Vim in 2017

#6
I've been using rnu for fairly long time and it has never slowed me down. Ctrl+D/Ctrl+B for forward/backward paging combined with / is very fast in Vim. Maybe because I don't use any heavy plugins.

On the topic about plugins, does anybody know of a plugin which allows me to give "names"/"tags" to files so that I can jump back to them with a shorter "name" instead of the full path?

Re: Switching to Sublime Text from Vim in 2017

#7
I would agree with you, except I really do feel like NeoVim has fixed nearly every big problem I've had with Vim.

There were definitely hackey things you had to do with regular Vim, but NeoVim adds a much better interface for plugins and lets you use whatever languages you'd like for making plugins...Not to mention that it has had proper async support for years now, much before regular Vim got it.

Using NeoVim, I can still do all my work in the terminal with tmux, and have the interface that I'm familiar with. Sublime is a great editor, and I use it as a quick little "paste-buffer", but I don't really feel I'm as productive with it as I am with my NeoVim + tmux combo.

Re: Switching to Sublime Text from Vim in 2017

#8
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, and that's still really handy when I'm making edits to HTML). Other stuff can be done by both but I happen to like ST's better (the awesome GitHub package comes to mind).

And finally, I did pay $70 for an ST license, so I imagine I'll keep using it for another few years or so. But given that I do alot of remote administration on RHEL/CentOS boxes where vim is the only thing I can safely assume to be installed, it doesn't hurt to stay fluent in vim for such a day.

Re: Switching to Sublime Text from Vim in 2017

#10
post #7

I would agree with you, except I really do feel like NeoVim has fixed nearly every big problem I've had with Vim. There were definitely hackey things you had to do with regular Vim, but NeoVim adds a much better interface for plugins and lets you use whatever languages you'd like for making plugins...Not to mention that it has had proper async support for years now, much before regular Vim got it. Using NeoVim, I can…

Yes, NeoVim is definitely an improvement over regular Vim. Hopefully more people will begin to use NeoVim and make it the standard going forward.
Post reply on HN