Update readme; add screenshot

This commit is contained in:
Henrik Lissner 2015-05-28 22:16:25 -04:00
parent 7d44ea4db4
commit 8afc1421b4
2 changed files with 22 additions and 54 deletions

View file

@ -1,67 +1,35 @@
# Emacs for the stubborn vimmer # My emacs.d
What we do every night, Pinky... ![Screenshot](screenshot.png)
> What we do every night, Pinky...
This is emacs for the stubborn vimmer, and then some.
This distro is primarily for Emacs 24.5+ users on OSX, but should work for
debian derivative linux distros.
## Installation ## Installation
```sh ```sh
brew install emacs --cocoa --with-imagemagick --with-gnutls` brew tap railwaycat/emacsmacport
brew install emacs-mac --cocoa --with-imagemagick --with-gnutls
brew install cask brew install cask
git clone --recursive https://github.com/hlissner/emacs.d ~/.emacs.d git clone --recursive https://github.com/hlissner/emacs.d ~/.emacs.d
cd ~/.emacs.d && cask install cd ~/.emacs.d
make
``` ```
## Modules ## Customization
See `./Cask` for what packages I use. See:
## Customizations
### Ex commands
``` ```
a # switch to other file (headers, css/scss, js/coffee, etc.) ./Cask # for packages in this distro
ag <search term> # helm ag search ./init/my-commands.el # for all custom ex commands
ag! <search term> # regex helm ag search ./init/my-bindings.el # for all keybindings
ag[cw]d # helm ag search in current directory ./init/init-*.el # for all package settings
ag[cw]d! # regex helm ag search in current directory
al[ign] <regex> # align selected text that matches <regexp>
cd <dir> # self-explanitory
en[ew] <file> # create and open new file template
en[ew]! <file> # same, but does it silently (ignore editable fields)
er[rors] # open flycheck errors panel
full[scr] # toggle emacs fullscreen mode (classic fullscreen)
gdiff # (git) show diff on selected hunks
grevert # (git) revent selected hunks
gstage # (git) stage selected hunks
ini # run find-file in ~/.emacs.d/
k[ill] # kill-this-buffer
k[ill]all # kill all buffers and windows
k[ill]all! # kill all project buffers and windows
k[ill]buried # kill all buried buffers
k[ill]buried! # kill all buried project buffers
k[ill]o # clean up buried buffers and unused processes
killpersp # kill perspective
msg # show emacs messages
n[otes] # run find-file in org-directory
o[rg]agenda # (org-mode) open org-agenda
o[rg]align # (org-mode) align all tags
o[rg]archive # (org-mode) archive item at point
o[rg]attach # (org-mode) attach file
o[rg]link # (org-mode) create link
o[rg]refile # (org-mode) refile at point
o[rg]rgarchive # (org-mode) archive item at point
o[rg]todo # (org-mode)
pres[ent] # toggle presentation mode (bigger fonts)
proj[ect] # helm-projectile-switch-project
re[gex] # open re-builder for writing regex
rec[ent] # helm-recentf
recompile # byte-compile emacs directory
ref[actor] # activate emr menu
ren[ame] <new name> # rename current file to <new name>
retab # converts to tabs (or spaces, depending on settings)
snip[pets] # edit/expand one of this major-mode's snippets
sq[uint] # narrow to selected region
sw[oop] # live project-wide ag search
tcd <dir> # send 'cd <dir>' to tmux (or 'cd (default-directory)' if blank)
``` ```
## What about Windo-
![Windows, you say...](http://i3.kym-cdn.com/photos/images/newsfeed/000/549/293/504.gif)

BIN
screenshot.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 23 KiB