This repository is an emacs settings heavily relying on the new Emacs 24 features and the el-get alternative package manager.
Emacs Rocks and @magnars were also a great source of inspiration.
ln -s $REPO ~/.emacs.d
The idea is to put your personal files into the .gitignore.
The biggest challenge with Emacs configuration is to find a consistent way
to organize it. El-get offers a easy way to setup external packages and let
you organize all the specific customization of these packages in the
~/.emacs.d/packages.d/ directory within the corresponding
file. For more information, consult el-get
Other customization are organized as follow:
defaults.elfor classical general customization
visual.elfor everything related to frames and visual buffer interaction
key-bindings.elfor customized key-bindings except for external packages
mac.elfor Mac OS X specific customization
What's in there?
CShorthand for the ctrl-key
MShorthand for the meta-key (bound to cmd on my mac settings)
SShorthand for the shift-key
C-x C-fOpen a file. Starts in the current directory
C-x fOpen a recently visited file
C-x oOpen a file in the current project (based on .git ++)
C-x C-sSave this file
C-x C-wSave as ...
C-x C-jJump to this files current directory
C-x bSwitch to another open file (buffer)
C-x C-bList all open files (buffers)
Cut copy and paste
C-spaceStart marking stuff. C-g to cancel.
C-wCut (aka kill)
C-kCut till end of line
C-yPaste (aka yank)
M-yCycle last paste through previous kills
C-x C-yChoose what to paste from previous kills
C-gQuit out of whatever mess you've gotten yourself into
M-xRun a command by name
C-x uShow the undo-tree
C-x gOpen magit. It's a magical git interface for emacs
C-arrowMove past words/paragraphs
C-aGo to indentation, then start of line
C-eGo to end of line
M-g M-gGo to line number
C-x C-iGo to symbol
C-sSearch forward. Press
C-sagain to go further.
C-rSearch backward. Press
C-ragain to go further.
C-x 0Close this window
C-x 1Close other windows
C-x 2Split window horizontally
C-x 3Split window vertically
S-arrowJump to window to the left/right/up/down
Instead of a long list of Major and Minor modes that are active, I have greek symbols representing those modes.
- λ Clojure mode
- τ undo-tree
- γ yas
- υ volatile highlights
- ηζ nREPL minor mode
- α auto-complete
- φ paredit
- π Python mode