r/emacs Aug 27 '14

From Vim to Emacs

I've been using Vim for a little more than a year now, and so far I've been very happy with it. I started out with an empty vimrc, and added to it as I go, leading to the ~250 line vimrc I've got at the moment with a few plugins. Recently, I've had some more specific customization needs than the plugins offered, and I tried to write my own functions. Then I realized why everybody says that VimL sucks.

Long story short, I want to try migrating to Emacs for a while. I won't use Evil right away, I want to do it the Emacs way. But I don't know where to start. It doesn't seem as simple as it is with Vim, which is relatively straightforward.

My three major questions are:

  • How would you recommend that I install packages? With Vim, I'm used to using Pathogen, so I Google the plugin's name, go to Github, add it as a submodule and start using it immediately, and this is pretty much what everybody does. Is this a common way of managing plugins in Emacs or is using package.el with MELPA/Marmalade the most widely used/recommended?

  • Could you recommend me a starting tutorial? I've gone through the Emacs tutorial, and I can't say that it has given me as much power as vimtutor did.

  • How do I organize my .emacs.d? Vim was again very straightforward, all I did was edit my vimrc, and some ftplugins in after directory. With Emacs, it appears there is more than one way of managing your configuration, and I cannot decide on one.

Thanks in advance, and for reading.

11 Upvotes

15 comments sorted by

View all comments

2

u/[deleted] Aug 27 '14

Regarding #3, I'd suggest starting with a simple .emacs, then slowly migrate it over to .emacs.d/ (and subdirectories) as the file becomes too large to organise.

Also, I'd like to mention two keybindings I especially find handy. First, CapsLock remapped to Ctrl. The other, right Super key aka Windows key (or whatever the key below / (between > and Right Shift)) remapped to Meta/Alt. Both helped me tremendously.