Source

emacs.d /

Filename Size Date modified Message
custom
snippets
101 B
1.4 KB
8.9 KB

Emacs configuration

Features

Settings

  • Cobalt theme with fallback to Tango dark theme
  • Menlo 12p font
  • 4 spaces for indentation
  • No scrollbar or toolbar
  • Line numbers on by default
  • ido mode on by default
  • uniquify on by default

Components

  • ELPA and el-get package management
  • auto-complete
  • yasnippet
  • python-mode
  • ropemacs
  • nxhtml
  • django-mode and django-html-mode
  • js2 javascript mode
  • js2-mode
  • many others ...

Installation and usage

Installing emacs

This installation is Mac OSX specific and the instructions will build the latest emacs revision. I assume that you are using homebrew as a package manager.

To install emacs:

$ brew install emacs --cocoa --use-git-head --HEAD
$ mv /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/

If you want the latest stable emacs version (I have only tested with emacs 24 so you 're on your own with earlier versions):

$ brew install emacs --cocoa
$ mv /usr/local/Cellar/emacs/HEAD/Emacs.app /Applications/

Now you can run emacs just like any other Mac OSX application

Installing the emacs configuration

Run the following for the installation:

$ cd ~
$ hg clone https://bitbucket.org/pagles/emacs.d .emacs.d

Adjust the paths in the beginning of init.el to match your environment.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.