Skip to content

Instantly share code, notes, and snippets.

@samstickland
samstickland / .inputrc
Created July 24, 2017 12:28
Mac OS inputrc
# Incremental searching with Up and Down. Type 'ssh <up>' to get the last 'ssh' command you used
"\e[A": history-search-backward
"\e[B": history-search-forward
# Shift arrows go foward and back words
";2D": backward-word
";2C": forward-word
set completion-ignore-case on
@samstickland
samstickland / .bash_profile
Last active July 24, 2017 12:28
Mac OS bash config
[[ -s "$HOME/.profile" ]] && source "$HOME/.profile" # Load the default .profile
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
alias grep='ggrep --color=auto'
export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/latest/bin
export INPUTRC="~/.inputrc" # Custom keybindings
export GITAWAREPROMPT=~/.bash/git-aware-prompt
@samstickland
samstickland / .vimrc
Last active December 17, 2024 20:05
Vim Config
let mapleader = " "
"Vundle
set nocompatible
filetype off
"filetype off
set rtp+=~/.vim/bundle/Vundle.vim
call vundle#begin()
Plugin 'gmarik/Vundle.vim'
Plugin 'thoughtbot/vim-rspec'