8 ms·
Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount. There is very few pieces of so
by DiabloD3 10y ago
Given Vim powers our industry, it'd be neat if pg or any of the other big members of our community donated a non-trivial amount.
There is very few pieces of software I could never imagine replacing in my toolkit. Linux? I use Windows, too. GCC? Clang gets some love sometimes. Languages themselves? I'm fluent in several. Shell? I used Bash for years, now I switched to ZSH, but could go back to Bash if I needed. Tmux? I could also go back to screen if I needed to.
But vim? There's no replacement for vim. vim changes how you think about programming, how you think about software development. It is this frictionless editor (I mean, yes, huge fucking learning curve, but so is programming in general) that, even 20 years later, I will never abandon (unless I'm doing Java, because... fuck Java outside of Eclipse or IntelliJ; and yes, I've tried using that one vim<->eclipse bridge, hell no).
- bobajeff 10y agoNano
- omaranto 10y agoI found that Emacs + Evil is a pretty good replacement for Vim. Nowadays there is also NeoVim.
- DiabloD3 10y agoI consider NeoVim a Vim, too, thus I don't mention it separately, even though a lot of the internals has been changed around. I wish them a lot of luck. Evil mode in Emacs seems to be a bit of a crutch. I was actually an emacs user for awhile, and a lot of emacs' power imo comes from using emacs "the right way". I respect emacs and emacs users.
- deepaksurti 10y agoThere is also Spacemacs, which imho, is much better than Emacs + Evil.
- copperx 10y ago> Given Vim powers our industry I hope that you're being sarcastic.
- DiabloD3 10y agoNope. The only other popular editors I've seen people using is either Sublime which, although highly configurable, just ain't no vim; or, all the emacs users, with emacs being the only real competitor to vim. I didn't mean what I said as a slight to emacs users at all, I respect them and their editor, I'm just a huge vim fan. Also, the same with Java only being used with Java IDEs, C# only being used with Visual Studio is also a notable exception to my "vim all the things" rule.
- vbezhenar 10y agoProbably different people have different views on the industry. I never saw anyone (but me) using vim. Programming: Eclipse, Intellij Idea. Administration: notepad, sometimes notepad++. For Linux it's KEdit or GEdit, depending on environment, I saw nano once. vim or Emacs are popular among enthusiasts, but for many professionals who's just makes living on it, those are gimmicks from ancient era. I spent quite a lot of time mastering vim. It's beautiful editor and I could be incredibly productive with it, but I'm not sure that there are many people who'll do that.
- riboflava 10y agoEvery so often someone will do a "what editor do you use?" poll here, vim is the top choice. Maybe it's not the most common in the industry, especially if you include the hordes of Java or C# only developers, but at least among HN devs it's the #1 pick.
- flukus 10y agoA stack overflow survey (http://stackoverflow.com/research/developer-survey-2016 http://stackoverflow.com/research/developer-survey-2016) had plenty of vim users and that includes us c#/java hordes.
- mixedCase 10y agoJetBrain's Vim plugin is very high quality.
- Lio 10y agoIt's OK but I could never get it to do things beyond basic editing like window management right.
- colordrops 10y agoIt's the only VIM emulation mode I've used that isn't completely annoying. I'm including spacemacs in that assessment.
- Lxr 10y agoIt's high quality as they go but not close to being a vim substitute in my experience. There are still tons of little things that don't work as expected.
- zem 10y agoso is netbeans's - it's a straight port of the vim source code to java
- zipperhead 10y agoRe: eclipse. Rather than the bridge you might want to give vrapper (http://vrapper.sourceforge.net/home/ http://vrapper.sourceforge.net/home/) a try. I find it to be quite acceptable - much better than having no vim keybindings. It's very comparable to the jetbrain's vim plugin.
- adelarsq 10y agoI use both. Vrapper is the best Vim emulation so far
- michaelmrose 10y agojetbrains vim plugin doesn't even let you define your own vim like keybindings. It is the worst vim plugin I've seen.
- lenkite 10y agoActually, there is some minimal support for map keybindings. See https://github.com/JetBrains/ideavim https://github.com/JetBrains/ideavim
- michaelmrose 10y agoInteresting seems to have improved.
- bch 10y ago> There's no replacement for vim. I'm used to seeing people say "vim" where "vi" is meant (of which vim is but one (much enhanced) clone), so when you say you could switch out gcc for clang, or bash for zsh, could you not switch out vim for (e.g.) nvi[0]? If not, why not? [0] https://en.wikipedia.org/wiki/Nvi https://en.wikipedia.org/wiki/Nvi
- JoshTriplett 10y agonvi provides a minimalist implementation of vi. If you feel comfortable with the vi keybindings in other editors, nvi will likely suffice. However, many vim users expect scriptability, programming language support, and numerous other features. The analogous comparison would be between bash and posh/dash, or between gcc/clang and the Tiny C Compiler.
- _kst_ 10y agoI haven't used nvi in several years (mostly because, unlike nvi, vim has become universally available on the systems I use), but it's not minimalist. nvi has a number of features that the original vi does not. Perl integration and infinite undo are two examples.
- JoshTriplett 10y agonvi definitely provides more features than the original vi, just not nearly as much as vim. And it doesn't have a comparable ecosystem of plugin/package developers around it, either.
- bch 10y agoIs there a popularity dashboard of plugins that one could check to see what features vim users are enjoying that I've been living without?
- roryokane 10y agohttp://vimawesome.com/ http://vimawesome.com/ has a list of Vim plugins sorted by their popularity, measured by presence in dotfiles repos on GitHub.
- zerr 10y agoSo you see the comfort of using IDE (eclipse or intellij) with languages such as Java. Do you feel a similar comfort in vim? with which languages?
- riboflava 10y agoNot the parent but I have the same reaction, and I wouldn't describe my experience in big IDEs as "comfort", just less pain. I use them with Java only out of necessity, and only on huge projects I didn't have a part in designing up front. Every other programming language I've used a lot of (spanning from assembly to lisp) I've found it most pleasant to work in vim, even in large projects. I suspect the only other environments I'd want an IDE would be for iOS development and C#.
- adrianratnapala 10y agoI found Vi to work perfectly well for C#. Visual Studio would have been better, if I could have got a decent Windows desktop to span both of my monitors. But since my employer at the time didn't want to get a Windows PC or get a Visual Studio license for this Windows desktop application project, Vim + Samba + SSH were a workable substitute.
- nitrogen 10y agoI don't know if it's still there, but at one point (some?) MS licenses had an audit clause that would allow the BSA or MS to raid your employer at their expense. That could be one reason for a non-MS shop not to want to get any MS licenses.
- DiabloD3 10y agoJava and C# were both designed to be used in language specific IDEs (C# inheriting that from Java). Using Java outside of a Java IDE is insane. C, C++, Python, Ruby, JS, Erlang, Perl, etc, just require a relatively sane text editor, no full scale heavy weight IDE features needed. So, yeah, vim does everything I need there.
- adelarsq 10y agoI'm still trying to use vim with java =P Someday I will be happy
- bowmessage 10y agoeclim ftw
- adelarsq 10y agothe problem with eclim is that is slow for huge projects. I did use for some time
- m0shen 10y agohttps://plugins.jetbrains.com/plugin/164 https://plugins.jetbrains.com/plugin/164 (IdeaVIM) is pretty good for intellij based ides.
- adelarsq 10y agoactually I'm using this plugin. Not the better but helps to fell good
- filereaper 10y agoVrapper (http://vrapper.sourceforge.net/home/ http://vrapper.sourceforge.net/home/) Its a very non-intrusive vim plugin for Eclipse, just does vim emulation and nothing else. I've found it to be very pleasant to work with.
- adelarsq 10y agoI did use this plugin for a long time. The best plugin so far. I want a plugin like this for Intellij :P
- lysis 10y ago> I will never abandon (unless I'm doing Java, because... fuck Java outside of Eclipse or IntelliJ; and yes, I've tried using that one vim<->eclipse bridge, hell no) If you're referring to eclim [0] FWIW I've found it to be an adequate way to have a vim centric workflow with a few excursions into eclipse. If you have proficiency with both tools and enjoy having an eclim server running in a eclipse window you'd get have access to the best features of both tools. [0] http://eclim.org/ http://eclim.org/
- duck 10y agoJust to add to this, a couple years ago I was able to run a campaign to raise $5000 for Vim via Hacker Newsletter (http://hackernewsletter.com http://hackernewsletter.com) all thanks to 38k great subscribers and sponsors. So while not officially via HN, it was unofficially. :) We currently hold the top spot, although I would be happy to see someone surpass that: http://www.vim.org/sponsor/hall_of_honour.php http://www.vim.org/sponsor/hall_of_honour.php
- busterarm 10y agoI came into Vim pretty happy with my other tools (a very-enhanced Sublime Text 3 and JetBrains IDEs)...I wasn't trying to learn Vim, I just had to. Vim is now basically my one tool. That and tmux...and more of the stuff I was using tmux's features for I'm doing in Vim. Both tools are definitely irreplaceable for me at this point, but vim much more than the other.