Skip to content

Instantly share code, notes, and snippets.

{
"nodes": [
{
"name": "Tyler",
"id": "1"
},
{
"name": "Aric",
"id": "2"
},
@tgrrtt
tgrrtt / DefaultKeyBinding.dict
Created July 17, 2014 22:49
Emacs Key Bindings
{
/* Keybindings for emacs emulation. Compiled by Jacob Rus.
*
* This is a pretty good set, especially considering that many emacs bindings
* such as C-o, C-a, C-e, C-k, C-y, C-v, C-f, C-b, C-p, C-n, C-t, and
* perhaps a few more, are already built into the system.
*
* BEWARE:
* This file uses the Option key as a meta key. This has the side-effect
* of overriding Mac OS keybindings for the option key, which generally
@tgrrtt
tgrrtt / gist:c93a1733c493e98b392a
Created July 17, 2014 21:09
PR for only a specific commit
git checkout -b upstream upstream/master
git cherry-pick <SHA hash of commit>
git push origin upstream
@tgrrtt
tgrrtt / tgrrtt.zsh-theme
Last active August 29, 2015 14:03
My zsh prompt theme
PROMPT='%{$fg[cyan]%}%c%{$reset_color%} %{$fg_bold[cyan]%}➜ '
RPROMPT='%{$fg[green]%}$(git_prompt_info)% %{$fg_bold[blue]%}%*%{$reset_color%}'
ZSH_THEME_GIT_PROMPT_PREFIX="<%{$fg[blue]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[red]%}✗%{$fg[green]%}>%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%}>"