Skip to content

Instantly share code, notes, and snippets.

View chugcup's full-sized avatar

Jeff Gordon chugcup

  • Castle Rock, CO
View GitHub Profile
@chugcup
chugcup / .gitconfig
Created June 19, 2014 01:54
Custom .gitconfig with hg-like shortcuts
[user]
name = NAME
email = EMAIL
[core]
editor = vim
[merge]
tool = meld
[color]
diff = auto
status = auto
@chugcup
chugcup / .pythonrc
Last active August 29, 2015 14:00
Personal .pythonrc
#################################################################
# Add the following to your bashrc to enable loading this script
# alias py='python -i $HOME/.pythonrc'
#################################################################
import os, sys
from pprint import pprint
home=os.path.expanduser('~')
history_file=home+'/.python_history'
if not os.path.exists(history_file): open(history_file, 'w').close()
cwd = os.getcwd()
@chugcup
chugcup / .vimrc
Created April 30, 2014 20:18
Personal .vimrc
version 6.0
if &cp | set nocp | endif
nmap ,hx wbF^V<df>f^V<df>
nmap ,ht wbi^V<tt>^V^[ea^V</tt>^V^[bb
nmap ,hs wbi^V<strong>^V^[ea^V</strong>^V^[bb
nmap ,hu wbi^V<u>^V^[ea^V</i>^V^[bb
nmap ,hi wbi^V<i>^V^[ea^V</i>^V^[bb
nmap ,he wbi^V<em>^V^[ea^V</em>^V^[bb
nmap ,hb wbi^V<b>^V^[ea^V</b>^V^[bb
nmap ,h6 _i^V<h6>^V^[A^V</h6>^V^[