Live data from Hacker News

Why I Still Use Vim

medium.com

31–40 of 209 posts

Re: Why I Still Use Vim

#31
How does this compare to other full(er) featured editors like IntelliJ? I don't remember it taking that much RAM, and it's a workhorse.

Re: Why I Still Use Vim

#32
post #16

Earlier quoted context omitted.

Except that sublime does all of that, supports plugins written in python, and doesn't screen tear, and leaves me some RAM for other things

But Sublime doesn't do all of that. It does some things better, and others worse (and still others not at all). I couldn't write a plugin for Sublime to embed a web browser. I couldn't write a plugin for Sublime to display images inline by fetching their URL if found in the source. Those kinds of features might not be important to you, and that's fine, but they are indispensable for me.

>I couldn't write a plugin for Sublime to embed a web browser.

Yes - that is true. and, with atom basically being a web browser, it is trivial for them to do it.

>I couldn't write a plugin for Sublime to display images inline by fetching their URL if found in the source

I actually think that is now possible in ST3. With the new "Phantom" plugin API it can certainly inject a subset of html (including tags) into the view.

Re: Why I Still Use Vim

#33
post #16

Earlier quoted context omitted.

Except that sublime does all of that, supports plugins written in python, and doesn't screen tear, and leaves me some RAM for other things

But Sublime doesn't do all of that. It does some things better, and others worse (and still others not at all). I couldn't write a plugin for Sublime to embed a web browser. I couldn't write a plugin for Sublime to display images inline by fetching their URL if found in the source. Those kinds of features might not be important to you, and that's fine, but they are indispensable for me.

Sublime has minihtml, just in case:

https://www.sublimetext.com/docs/3/minihtml.html

It is a bit different from when you are using a browser trying to look like a text editor, but still.

Re: Why I Still Use Vim

#34
post #14

> I’ve primarily stuck with [vim] because it’s an extensible editor that doesn’t hog all the resources and kill my machines. Exactly, BUT ... Vim has a non-mainstream shortcut interface, which I've always thought is an unfortunate caveat. So over the years I've actually managed to massage Vim into behaving like a 'normal' editor. It fits into a plugin if you're interested: https://github.com/tombh/novim-mode

But then what's... the point? That vim has a rich and expressive language for text navigation and manipulation is the only thing that sets it apart from more modern competitors.

That was the part of the sentiment of the quote - the point is that Vim is notable for 2 distinct, but unfortunately inseparable, reasons;

1. Modal editing. 2. One of the most ubiquitous, lightweight, stable and extensible editors in existence.

I just want there to be at least a semblance of a possibility to separate these 2 things.

Re: Why I Still Use Vim

#35
the hero image with vim meanings on keyboard keys is pretty and apropos. my eyes were drawn to it and I found a typo:

[pushes up glasses]

There aren't ex commands ":ZZ" / ":ZQ", but "ZZ" and "ZQ" are normal mode commands.

Re: Why I Still Use Vim

#36
Being in 2 slack teams use up as much memory as the entire visual studio 2017 does on my machine.

It is electron that is the root cause here and it is the same for all electron based apps.

Re: Why I Still Use Vim

#37

I really wish developers stop using the JS editors and switch to platform specific editors. It's 2017 and all platforms have great native text editors, like Notepad++, GEdit, and if you need cross-platform, Sublime text. I don't see the point I using these electron based editors which waste tons of CPU cycles, and provide nothing of value.

Frankly, VS Code is WAY better in terms of plugin and configuration than any of the editors you mention.. from git integration, search, integrated terminal, integrated debugging with ui driven break points, etc, not even counting plugins. None of the editors you mention support those features.

It's not wasting CPU cycles, and frankly even if it is, it's better than wasting my cycles having to switch between several terminal windows, apps, and file system browsers all because you don't think I shouldn't use an electron app.

Re: Why I Still Use Vim

#39
Not just that, for example GitKraken uses Electron, and consumes ~700MB RAM, compared to Smartgit that takes only 120MB on my machine.

Re: Why I Still Use Vim

#40
Even though a lot of people hate it, nano is a good editor as it has been stated in the stats. Maybe nano is a screwdriver what vim is a complete toolbox, and sublime a mechanical workshop (but paying a graphical requirement, like a rental fee)... Usually you only need to tighten a screw, other times fix a hose, others repair a car ;)
Post reply on HN