My Emacs Config
This is my emacs configuration.
If you’re interested in using it, please first consider using it as
a source of inspiration first. Check out
layers/personal for the most interesting and unusual bits.
Setting up this config for your own use is fairly simple:
cd $HOME git clone https://github.com/jcpetkovich/.emacs.d.git ~/.spacemacs.d emacs --batch -l ~/.spacemacs.d/init.el
spacemacs is both the config and a script for bootstrapping both
~/.emacs.d/ with spacemacs, and for any external spacemacs layers
Some other dependencies you may want to install:
- `slime` (through [quicklisp](http://www.quicklisp.org/beta/))
- `mu4e` (through your package manager)
- `ghc-mod` (through your package manager, or [cabal](http://www.haskell.org/cabal/))
- `jedi` (through your package manager, [pip](https://pypi.python.org/pypi/pip) or similar)
If you don’t want the functionality of these particluar packages, you may ignore them, as the configuration should run without them.
The defaults for emacs/evil are used wherever possible, the following sections document significant alterations or interesting pieces not included in emacs by default.
For more general help, To show every custom custom binding just run `M-x describe-personal-keybindings`. To see an interactive and searchable list of any active keybindings in the current buffer, run `C-h b`.
To understand these keybindings you must understand the emacs [keybinding notation](http://www.emacswiki.org/emacs/EmacsKeyNotation).
|Grow whitespace around point|
|Shrink whitespace around point|
|Shrink whitespace DWIM|
|Hippie Expand Line|
|`M-m`||Mark symbol or next like it (Like `C-d` in sublime)|
|`M-M`||Mark word or next like it|
|`C-S-n`||Mark next like this|
|`C-S-p`||Mark previous like this|
|`M-‘`||Mark all DWIM|
Buffer Splitting and Moving
|`M-!`||Delete current window (not buffer)|
|`M-1`||Delete all other windows (not buffers)|
|`M-2`||Split window vertically|
|`M-@`||Split window horizontally|
|`M-j`||Move focus to next window|
|`M-k`||Move focus to previous window|
File opening, Searching and Navigation
|`M-o`||Open a file in project|
|`M-i`||Fuzzy search current buffer|
|`C-x M-i`||Fuzzy search all buffers|
|`M-l`||Fuzzy search current project|
|`M-v`||Search buffer by semantic units|
Capitalization `M-c <key>`
|`-`||Turn word to snakecase|
|`m`||Camel Case word|
Transposition `M-t <key>`
|`SPC`||Leader Key (in evil)|
|`M-m`||Leader Key (anywhere)|