Live data from Hacker News

Switching to Sublime Text from Vim in 2017

eduardobautista.com

61–70 of 71 posts

Re: Switching to Sublime Text from Vim in 2017

#61

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…

I'm trying this route as well. ST is so much easier to use and learn because it's like all the other editors I've ever used. Vim is completely different in everything, it's an entire other language.

My underlying thought is though, that if I can become fluent in Vim's world, the layer between thought and coding becomes thinner.

I do want to write a translators guide from ST to Vim. Simple things like 'Tabs = Buffers' (which are different to Tab pages) I had no idea about until recently.

Re: Switching to Sublime Text from Vim in 2017

#62
post #58

You don't need to gratuitously bash the open source community because you don't like Javascript-based editors. It doesn't make any sense, you are just ranting. There are plenty of open source projects inspired by Sublime Text, written in many different languages and environments. http://limetext.org/ http://edbee.net/ https://github.com/richrd/suplemon https://plugins.geany.org/geanyextrasel.html Since they are all o…

> Since they are all open source, if you don't like something, just change it.

I'd much rather give the Sublime Text devs money. I don't have the time or knowledge to create an editor as good as Sublime Text.

Re: Switching to Sublime Text from Vim in 2017

#63
post #32

I think that the this "vim mode" plugin for Visual Studio Code has the best roadmap/checklist for supported vim features out there. https://github.com/VSCodeVim/Vim/blob/master/ROADMAP.md Every "vim mode" plugin should have something like that

Tried it recently. It still very far away from what I would call a decent Vim emulation.

Re: Switching to Sublime Text from Vim in 2017

#64
Well, everybody is free to switch editors as they like and I respect that. I've been using Vim non-stop for as much time as it has existed but I sometimes like to try other editors from time to time to see what cool features they have (which I add to Vim when I'm back since certainly somebody somewhere emulated them as Vim plugins), and I use IntelliJ for Java.

But the reasons of this article are pretty shallow. The article is screaming either "I'm really bad at googling stuff" or "I just want to switch to Sublime but I don't want to think about good reasons".

Let's see:

- "CtrlP doesn't work very well for me". Well, there is also Unite, FZF.vim (the one that I use after using several of these fuzzy openers) and others.

- "Syntastic is not asynchronous": http://lmgtfy.com/?q=vim+syntax+check+asynchronous

- "Relativenumber slowed Vim down": that bug what fixed in 2014, I think. Anyway I use relative numbers and don't have any problem (with an updated Vim).

- "Vim doesn't autoreload files if I tell him to do it". How Vim's programmers dare setting a default different from what the article author wants! And they even add an option to add insult to the injury! I find Vim default behavior of WARNING you that the file has changed but not auto reloading perfectly reasonable. It has saved my day several times for example.

- "I want better font rendering and more than 256 colors". Well, I use Linux instead of a Mac, but it also have a HiDPI screen (3200x1600 and external 4K monitor) and Vim font rendering works perfectly both in GVim and on console Vim using Konsole or Tilix (the terminal emulators that I've used recently). GVim DO display more than 256 colors by default and console Vim also does since 8.0 with "set termguicolors" if the terminal emulator supports it.

- "I don't miss any Vim commands with Sublime Vim emulation". Good for you, but this tells me that you were a very basic Vim user. Last time I checked Sublime lacked :global, :normal and a lot other things that are the bread and butter of any proficient Vim user.

Re: Switching to Sublime Text from Vim in 2017

#65
Well, everybody is free to switch editors as they like and I respect that. I've been using Vim non-stop for as much time as it has existed but I sometimes like to try other editors from time to time to see what cool features they have (which I add to Vim when I'm back since certainly somebody somewhere emulated them as Vim plugins), and I use IntelliJ for Java.

But the reasons of this article are pretty shallow. The article is screaming either "I'm really bad at googling stuff" or "I just want to switch to Sublime but I don't want to think about good reasons".

Let's see:

- "CtrlP doesn't work very well for me". Well, there is also Unite, FZF.vim (the one that I use after using several of these fuzzy openers) and others.

- "Syntastic is not asynchronous": http://lmgtfy.com/?q=vim+syntax+check+asynchronous

- "Relativenumber slowed Vim down": that bug what fixed in 2014, I think. Anyway I use relative numbers and don't have any problem (with an updated Vim).

- "Vim doesn't autoreload files if I tell him to do it". How Vim's programmers dare setting a default different from what the article author wants! And they even add an option to add insult to the injury! I find Vim default behavior of WARNING you that the file has changed but not auto reloading perfectly reasonable. It has saved my day several times for example.

- "I want better font rendering and more than 256 colors". Well, I use Linux instead of a Mac, but it also have a HiDPI screen (3200x1600 and external 4K monitor) and Vim font rendering works perfectly both in GVim and on console Vim using Konsole or Tilix (the terminal emulators that I've used recently). GVim DO display more than 256 colors by default and console Vim also does since 8.0 with "set termguicolors" if the terminal emulator supports it.

- "I don't miss any Vim commands with Sublime Vim emulation". Good for you, but this tells me that you were a very basic Vim user. Last time I checked Sublime lacked :global, :normal and a lot other things that are the bread and butter of any proficient Vim user.

Re: Switching to Sublime Text from Vim in 2017

#66

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…

I'm strongly considering Spacemacs or evil mode having seen some of the cool things emacs can do, but aside from that, no text editor has ever grabbed me like vim. n++, Sublime, Atom, VS Code - I just don't achieve the same level of flow with any of them.

Re: Switching to Sublime Text from Vim in 2017

#67
post #43

> What I didn’t like about Vim was that a good number of plugins always felt like a hack. > Also, why not Emacs? I wanted to change my editor, not my operating system :P. He really made a mistake here, IMHO. Spacemacs is exactly the right solution here: can run on the console, can run in a GUI, meant to be extended (extending emacs isn't a hack: it's using emacs).

I briefly tried Emacs both alone and with Spacemacs. Spacemacs configuration is impenetrable, specially if you're not a LISP fan and Emacs simply needs a lot of glue to work well with Evil. Even then one has to know and use quite a few regular keybinds. At that point it just wasn't worth the effort to me over using a more modern and straightforward editor.

> Spacemacs configuration is impenetrable, specially if you're not a LISP fan

I find its configuration very nice — I don't actually use spacemacs regularly, but I miss how clean its package system tends to be over normal emacs configs.

And everyone should be a Lisp fan, since it's the best language we've managed to come up with yet.

> At that point it just wasn't worth the effort to me over using a more modern and straightforward editor.

I don't think there's any editor more modern than emacs; there's certainly none more powerful. More straightforward? Well, nano is probably the most straightforward, but I wouldn't want to use it regularly.

Re: Switching to Sublime Text from Vim in 2017

#68
Nano for configs & logs, sublime for long term programming. I either user vim mode in sublime for movement or my own hotkeys that are more easy for me to remember. mulicursor editing is a must and a game changer from the days of editing 1400 lines at once without it. atom was soooo close to fitting my needs but it failed big time on opening files over ssh mounted file systems.(electron issue?) if that gets fast maybe I'll go back. The JavaScript modding and plugins were kind of nice.

Re: Switching to Sublime Text from Vim in 2017

#69

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…

I'm strongly considering Spacemacs or evil mode having seen some of the cool things emacs can do, but aside from that, no text editor has ever grabbed me like vim. n++, Sublime, Atom, VS Code - I just don't achieve the same level of flow with any of them.

I've been dabbling with Spacemacs for a while now (after having looked at Vim to the point of being able to handle day-to-day editing well enough), and have to say I quite like it. The mnemonics work well enough.

I have previously been using ST too, though, and so far find two of its nicer features lacking in both Vim and Spacemacs:

1) Ctrl-Shift-P. ST's menu is really nice and I always seemed to search for the right words in order to find what I was looking for. You can emulate it with plugins in Vim, and Spacemacs' ´SPC :´ comes close, but they both end up being a bit more awkward than necessary (with emacs, it's mostly due to the function naming scheme and the terminology used).

2) I found the various flavors of multi cursor support in both Vim and Spacemacs not to be equally elegant as in ST. ST allowed you to do some amazing edits with Ctrl-F and some basic Regex knowledge (using Alt-Return). On the other hand, I learned that this can mostly be mitigated by the usage of mostly simple on-the-fly macros with Vim-syntax, so it's not that much of a problem.

Post reply on HN