Jutting Bytes

Digressions of a research engineer

Prelude

| Comments

Have you ever found yourself scp’ing your .emacs.d folder from one machine to another, again, and again ? Well, I have. Firing up a repository to host your emacs config does the trick when it comes to easily retrieving the configuration and keep changes synchronized, but what about managing additional packages your config may need, with MELPA or Marmelade ?

Here comes Prelude.

Emacs is probably the best text editor in the world. However, the process of coming up with a useful Emacs configuration is long and difficult. It’s this process that separates you from truly taking advantage of Emacs’s power. I like to refer to this process as the Prelude. Emacs Prelude has the goal to ease the initial Emacs setup process and to provide you with a much more powerful and productive experience than the one you get out of the box. By using Emacs Prelude you’re basically getting a “Get me out of the Prelude, I just want to use Emacs” card.

Prelude is an amazing emacs configuration system developed by Bozhidar Ivanov Batsov. Very easy to use and extend, it is meant to be forked, and everything has been taken care of, so that you can tweak the minimalistic initial setup from within your own prelude personal folder, and keep track of prelude’s mainline without having to deal with conflicts. Nice.

Prelude’s initial setup includes several modules, including language modes (c, clojure, css, js, latex, markdown, perl, python, ruby, scss, xml, …), ido, yasnippet, helm just to name a few, but also Projectile.

My personal fork adds a header management library, cmake mode, ninja mode and qml mode, along with a personal wombat-based theme. Here are some of my additional keymaps.

Global

  • ff-find-other-file C-c z

Header

  • make-header C-x C-h m
  • make-box-comment C-x C-h c
  • make-divider C-x C-h d
  • make-revision C-x C-h r
  • update-file-header C-x C-h g

One last precision if you are a Mountain Lion user like me, and want to benefit Emacs native osx full-screen support, build your Emacs from git, or, use brew.

1
brew install emacs --cocoa --use-git-head --HEAD

I can only recommand using Prelude, it really makes your Emacs experience more pleasant and powerful.


Comments