2016-05-20 22:49:24 -04:00
|
|
|

|
2016-01-23 21:10:40 -05:00
|
|
|

|
2015-06-14 17:26:03 +02:00
|
|
|
|
2016-05-20 22:49:24 -04:00
|
|
|
This is an Emacs configuration for stubborn vimmers and silent demon
|
|
|
|
annihilating protagonists alike. It strives to emulate vim as best it can, and
|
|
|
|
surpass it in any way possible.
|
2015-06-14 17:26:03 +02:00
|
|
|
|
|
|
|
## Installation
|
|
|
|
|
|
|
|
```
|
2015-09-30 13:52:30 -04:00
|
|
|
brew install cask
|
2016-04-23 22:55:23 -04:00
|
|
|
brew install emacs --with-cocoa --with-imagemagick
|
2016-04-05 23:53:38 -04:00
|
|
|
git clone https://github.com/hlissner/.emacs.d ~/.emacs.d
|
2015-06-14 17:26:03 +02:00
|
|
|
cd ~/.emacs.d
|
|
|
|
make # installs plugins via cask and generates autoloads
|
|
|
|
```
|
|
|
|
|
2016-02-26 09:30:41 -05:00
|
|
|
And to optionally:
|
2016-01-23 20:38:12 -05:00
|
|
|
|
2016-02-26 09:30:41 -05:00
|
|
|
```
|
|
|
|
make compile # optionally byte-compiles everything
|
|
|
|
make snippets # install hlissner/emacs-snippets into private/snippets
|
|
|
|
```
|
2016-01-23 20:38:12 -05:00
|
|
|
|
2015-06-14 17:26:03 +02:00
|
|
|
## Features
|
|
|
|
|
2016-01-23 20:38:12 -05:00
|
|
|
To get a picture of what's in here, check out:
|
2015-12-12 03:18:14 -05:00
|
|
|
|
2016-05-20 22:37:30 -04:00
|
|
|
* **[The Caskfile](Cask)**: lists installed plugins and where they're configured.
|
|
|
|
* **[init.el](init.el)**: lists all loaded modules
|
|
|
|
* **[private/my-bindings.el](private/my-bindings.el)**: most of the custom keybinds
|
|
|
|
* **[private/my-commands.el](private/my-commands.el)**: available custom ex commands
|
|
|
|
* **[ext/Makefile](ext/Makefile)**: lists external dependencies
|
2015-12-12 03:18:14 -05:00
|
|
|
|
2016-04-05 23:53:38 -04:00
|
|
|
### Highlights
|
2015-12-12 03:18:14 -05:00
|
|
|
|
2016-03-30 00:51:12 -04:00
|
|
|
* Pretty line numbers with **nlinum** and neckbearded hackery
|
|
|
|
* Syntax checking with **Flycheck**
|
|
|
|
* Completion with **company-mode**
|
2016-04-23 22:11:14 -04:00
|
|
|
* Nigh-universal code debugging interface with **realgud**
|
2016-03-30 00:51:12 -04:00
|
|
|
* Pretty mode-line with **spaceline**
|
|
|
|
* Project navigation with **helm** and **neotree**
|
|
|
|
* Project search with **ag** and file search with **evil-search** or **helm-swoop**
|
|
|
|
* Project-wide search and replace with **helm-ag** (press shift-Tab while in results
|
|
|
|
buffer)
|
|
|
|
* Session persistence (and tab emulation) with **workgroups2**
|
2016-04-05 23:53:38 -04:00
|
|
|

|
2016-03-30 00:51:12 -04:00
|
|
|
* Run code inline with **quickrun**
|
2016-04-05 23:53:38 -04:00
|
|
|
* REPLs for many major modes with **repl-toggle**, including Ruby, Python,
|
2016-03-30 00:51:12 -04:00
|
|
|
PHP, JS, Elisp, Haskell and Lua.
|
2016-04-05 23:53:38 -04:00
|
|
|
* 2-char motions with **evil-snipe**
|
|
|
|
* Diffs in the margin with **git-gutter**
|
2016-03-30 00:51:12 -04:00
|
|
|
* Repeat (most) motions with <kbd>SPC</kbd>
|
2016-04-05 23:53:38 -04:00
|
|
|
* Snippet expansion with **yasnippet** and **auto-yasnippet**
|
2016-03-30 00:51:12 -04:00
|
|
|
* File template support with **auto-insert** and **yasnippet**
|
2016-04-05 23:53:38 -04:00
|
|
|
* Code folding with **hideshow**
|
2016-05-20 09:24:52 -04:00
|
|
|
* Multiple cursors with **[evil-multiedit](https://github.com/hlissner/evil-multiedit)**
|
2016-03-30 00:51:12 -04:00
|
|
|
* O/S interaction functions, like **os-reveal** and **os-open-in-browser**
|
|
|
|
* Custom TODO, FIXME and NOTE highlighting
|
|
|
|
* **big-mode** for presentations and demonstrations
|
|
|
|
* Tmux integration with `:t` and `:tcd` ex commands
|
2016-04-05 23:53:38 -04:00
|
|
|
* Tamed popup windows with **shackle**
|
|
|
|
* Vim-esque omnicompletion. e.g. `C-x C-f` for files
|
|
|
|
* Quick keybindings with `:[nviom]map`
|
|
|
|
* Emacs for modern note-taking/LaTeX/writing with **org-mode** or **rst-mode**
|
2016-03-30 00:51:12 -04:00
|
|
|
* **Modeline improvements**
|
2016-04-05 23:53:38 -04:00
|
|
|
* evil-search/iedit/evil-substitute mode-line integration:
|
2016-03-30 00:51:12 -04:00
|
|
|
|
|
|
|

|
|
|
|

|
2016-04-05 23:53:38 -04:00
|
|
|
* Macro-recording indicator:
|
2016-03-30 00:51:12 -04:00
|
|
|
|
|
|
|

|
2016-04-05 23:53:38 -04:00
|
|
|
* Show (py|rb)env version in mode-line
|
2016-03-30 00:51:12 -04:00
|
|
|
|
|
|
|

|
2015-06-14 17:26:03 +02:00
|
|
|
|
2016-05-20 22:49:24 -04:00
|
|
|
---
|
|
|
|

|