How I use Emacs

Getting started with an editor like Vi or Emacs isn’t too easy in the beginning, so I’m going to show you what packages I’m currently using to write code in Javascript, Ruby and a little bit in Scala.

My emacs configuration is very simple and it was based on Emacs Prelude. My setup can be found in my repo at https://github.com/rlazoti/emacs.d and you also can see there a list with my useful shortcuts that I use constantly.

If you wish to install it, just type:

1
git clone https://github.com/rlazoti/emacs.d.git ~/.emacs.d

Installation

There are many ways to install Emacs, you could install it from the sources or maybe using a package manager. I’m going to show the way that worked better for me. ;) Let’s see it…

I installed on the Mac OS a ‘mac port’ of emacs 24. I did it with Homebrew but it’s possible to download a version directly of here. To install with Homebrew do:

1
brew tap railwaycat/emacsmacport

And then

1
brew install emacs-mac

That’s it! It should be ready to use.

Repositories

Emacs 24 included a package manager called package.el and it already include a repository called ELPA, but it’s possible to use multiple repositories. In fact I use just one more repository called MELPA.

Packages

These are the main packages I use:


comments powered by Disqus