Here be my emacs config.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
settings
themes
.gitignore
Cask
README.md
init.el

README.md

Emacs

This is a homegrown emacs config that I have more or less had for the past 2 years.

I use cask to manage packages.

I also start up emacs in daemon-mode.

Now with evil-mode!

screenshot

Usage

Keybinding Description
C-[ is how you get out of insert mode.
M-t brings up the fuzzy file switching thing provided by fiplr.
[⌘]+[t] (OS X) brings up the fuzzy file switching thing provided by fiplr.
M-{h,j,k,l} can be used to navigate between split panes.
SPC <leader> key
SPC-n invokes the neotree pane.
SPC-b brings up the buffer switching modeline thingy.
SPC-k kills a buffer.
C-x g bring up the magit interface

And of course, the usual vim keybindings.

Installation

First, install cask. See Notes for platform-specific notes.

# Backup existing emacs directory
[-d $HOME/.emacs.d ] && mv $HOME/.emacs.d{,.bak}

# Clone emacs-config
git clone https://github.com/0x414A/emacs-config.git $HOME/.emacs.d

# Install casks
cd $HOME/.emacs.d && cask install

Notes

On OS X

Install cask with homebrew:

brew install cask

Then create a symlink from the brew-installed cask directory containing cask.el to ~/.cask:

ln -s /usr/local/Cellar/cask/*/ ~/.cask

Then navigate to

On Arch Linux

Install cask from the AUR.

Then create a symlink from the brew-installed cask directory containing cask.el to ~/.cask:

ln -s /usr/share/cask ~/.cask

Arch Linux user daemon

Create ~/.config/systemd/user/emacs.service:

[Unit]
Description=Emacs: the extensible, self-documenting text editor

[Service]
Type=forking
ExecStart=/usr/bin/emacs --daemon
ExecStop=/usr/bin/emacsclient --eval "(kill-emacs)"
Restart=always

[Install]
WantedBy=default.target

Then enable it:

systemctl --user enable emacs

Note

I use Roboto Mono from Powerline Fonts.