Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Why Emacs/Vim/Textmate? Isn't Xcode good enough?

Hi I mostly do C++, Objective-C programming. And I found Xcode plus an auto completion/macro plugin (Completion Dictionary) quite adequate.

However, all people seem to praise over their pure text editors. I tried Textmate for a bit; liked its simplicity but dislike its files/framework handling.

Am I missing something here? Or, do Vim or Emacs have auto-completion as good as Xcode?

like image 275
ivanTheTerrible Avatar asked Mar 16 '09 01:03

ivanTheTerrible


People also ask

Why do people use Vim over Emacs?

Vim is known to have a much steeper learning curve than Emacs. However, it's been said that putting in the extra effort is worth it because you will ultimately be able to work much faster and more comfortably in Vim.

Is Emacs better than Vim?

Emacs used to be the only editor of the two that was programmable, and while Vim has a lot of weird levels to its programmability, with the addition of Python and Ruby bindings (and more, I forget), Vim is also programmable in most ways you'd care for.

Is Emacs more customizable than Vim?

While both Vim and Emacs support plugins that enhance their functionality, Emacs supports a lot more customization of the editor environment.

Is Vim more popular than Emacs?

Today, Stack Overflow released its 2018 Developer Survey Results. Vim, the improved version of vi, scored 25.8% in popularity, while Emacs scored a paltry 4.1%. That is a staggering difference.


1 Answers

Pull up a chair son, let me speak on this.

Well before the days of Xcode, there was VIM and Emacs. I know it's hard to imagine, but it's true.

Many people got accustomed to VIM/Emacs, and thus continue to use it.

Emacs is extremely customizable, and offers pretty much everything you can imagine (including a built in shrink and the towers of hanoi). You can easily call compilers from Emacs, and create your own extensions as needed.

VIM has incredible regex engine (Emacs does as well) and is very handy because (VI) comes with pretty much every Unix OS, and works fantastically if you don't have arrow keys (yeah yeah, real old school). People are very good with using keys to move around documents, without having to use the mouse.

The same is true with Emacs as well, but for me, I find cursor motion much easier on VIM.

The text editor war is fueled with as much religious zealotry as the Mac vs PC war, and the answer is pick the best that works for you. If you like Xcode, great, continue to use it, however good luck if you're ever forced to work on a PC or Linux machine. Personally, I use Emacs to code, VIM to manipulate text and Firefox to look at lolcats.

like image 147
Alan Avatar answered Oct 18 '22 20:10

Alan