News for hackers. Stuff that matters.
[deleted]
Re:Some thoughts on Emacs and Vim by samdk on Wednesday February 16, 2011 @08:40PM (#2229273)
That's not why I use Vim, and that's not why most people use Vim.

I use Vim because it's an enormously powerful tool that makes me more efficient and because I enjoy using it. (I've never spent four hours attempting to debug my code only to discover that the problem was a bug in Vim. I can't say the same about Eclipse.)

Vim and Emacs are not toys. If you think they're toys you haven't invested enough time in them to understand how they work. Note that I'm not saying that a competent Vim/Emacs user might not prefer something else. I'm saying that you can't get to the point of being a competent Vim or Emacs user without understanding how enormously powerful both are.

Vim and Emacs can do just about everything your IDE can do (and, in many cases, more). The difference is that you're not starting with everything built in and crowding a complicated GUI. You're starting with something simple and powerful and (if you want) building it up with exactly the features you want.

Re:Some thoughts on Emacs and Vim by meemo on Wednesday February 16, 2011 @08:23PM (#2229228)
There are many reasons people like vim and emacs, not because they want to "say they are cool and roots." They're both simple, in their own way, but extensible and powerful. And for all the different tasks that you need a text editor, it's nice to always be able to use same thing.
Re:Some thoughts on Emacs and Vim by micrypt on Wednesday February 16, 2011 @08:38PM (#2229269)
+ extremely lightweight in comparison.
Re:Some thoughts on Emacs and Vim by amock on Wednesday February 16, 2011 @08:12PM (#2229198)
I think the point of using Vim or Emacs is that sometimes you don't want a full IDE. Often when I'm writing code I just want my editor to be fast and not require me to take my hands of off the keyboard. Both Vim and Emacs have much better keyboard navigation and are much faster than Eclipse.
Re:Some thoughts on Emacs and Vim by stelfer on Wednesday February 16, 2011 @10:42PM (#2229641)
Emacs mode in Eclipse? It has almost all of the navigation keystrokes.

As far as emacs not being everywhere, I recently just learned about mg on openbsd. If I had just rtfm I would have found it years ago.

[deleted]
Re:Some thoughts on Emacs and Vim by travisjeffery on Wednesday February 16, 2011 @08:48PM (#2229301)
> Ok, I agree, maybe for scripting and small code, but anything more complex is just for the Hype of saying I am a Emacs user and you are just a plain dumb Java developer that uses eclipse.

Sorry, no. I don't have any prejudice on whatever programming language you use, but you're making yourself look like a plain dumb person, period by saying that you can't be productive with Vim or Emacs with large pieces of code.

Here's just a few notable cases...Guido and Python with Vim and Emacs, Torvalds and Linux/Git with MicroEmacs, Stroustrup and C++ with Sam, DHH and Ruby on Rails with TextMate, Matsumoto and Ruby with Emacs, Zawinski and Mozilla with Emacs, Steele and Scheme with Emacs, and on and on.

Ridiculous.

Re:Some thoughts on Emacs and Vim by technomancy on Wednesday February 16, 2011 @08:44PM (#2229292)
> you can't be productive with it if you need to write more than small pieces of code.

This is possibly true in Java, but in better languages you don't need much help from your editor to be productive.

Re:Some thoughts on Emacs and Vim by reedF211 on Wednesday February 16, 2011 @11:09PM (#2229704)
Oh please... emacs and vim are way behind even crappy IDEs let alone solid ones like Netbeans. They lack some basic features that any working programmers cannot be productive without. I'm not talking anything fancy like Intellisense but basic features like syntax highlighting, file browsing , and a decent debugger are missing. I know someone is going to say "oh but you can configure and hack around to get those features", but thing is I don't wanna have to fight with my development environment to get these basic features.
Re:Some thoughts on Emacs and Vim by msbarnett on Wednesday February 16, 2011 @11:27PM (#2229744)
This isn't even remotely correct. Both emacs and vim have had those features out of the box for years. Decades, even.
Re:Some thoughts on Emacs and Vim by wahnfrieden on Thursday February 17, 2011 @01:24AM (#2230039)
vim comes with syntax highlighting and file browsing built-in. You just have to enable the syntax highlighting, but it's one command to put into your rc. Yes vim has some sucky defaults, but it's disingenuous to call these simple cases "hacks" or to suggest it takes fighting the software to get it working.

vim doesn't have a debugger since it's outside the scope of vim, which is just an editor. If you want an "all-in-one" philosophy, maybe emacs will treat you better.

Re:Some thoughts on Emacs and Vim by Locke1689 on Wednesday February 16, 2011 @11:27PM (#2229746)
Wovon man nicht sprechen kann, darüber muss man schweigen.
Re:Some thoughts on Emacs and Vim by adam_albrecht on Wednesday February 16, 2011 @08:49PM (#2229307)
I couldn't disagree more. I had the hardest time switching over to Vim because there is such a high learning curve, but once it "clicked", I could never back. Sometimes I'll have to do some .Net work in Visual Studio and I feel like I just switched from a Ferrari to a Corolla.

Now, if you're doing work in compiled languages like Java and C#, the code-completion of Visual Studio and Eclipse is very valuable. But besides that, I'd much rather have a simple and fast editor over a bloated IDE with tons of features.

Re:Some thoughts on Emacs and Vim by jodrellblank on Thursday February 17, 2011 @12:01AM (#2229839)
Re:Some thoughts on Emacs and Vim by dougws on Thursday February 17, 2011 @01:25AM (#2230041)
I'm a dyed-in-the wool emacs user (and have played with vim quite a bit) but there's really no comparison between the "completion" vim and emacs offer and that provided by IDEs like VS and Eclipse. They do quite a bit of static analysis and do context-sensitive completion which is extremely helpful when the standard library for your language has a ridiculously bloated API (like, for instance, Java and .NET).
Re:Some thoughts on Emacs and Vim by mbowcock on Wednesday February 16, 2011 @11:48PM (#2229801)
vi emulation in visual studio - https://github.com/jaredpar/VsVim