- iTerm2
- Base 16 iTerm Themes I use plain old base16-tomorrow
- Base 16 Vim Themes again base16-tomorrow
- Source Code Pro I use Source Code Pro Medium (with powerline support) at 13pt font
- ZSH
Created
March 20, 2014 23:12
-
-
Save iammerrick/9676071 to your computer and use it in GitHub Desktop.
My Rig
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vundle | |
filetype off | |
" Plugins | |
set rtp+=~/.vim/bundle/vundle/ | |
call vundle#rc() | |
" Vundle installed | |
Bundle 'gmarik/vundle' | |
Bundle 'mileszs/ack.vim' | |
Bundle 'bling/vim-airline' | |
Bundle 'vim-scripts/ZoomWin' | |
Bundle 'kien/ctrlp.vim' | |
Bundle 'Lokaltog/vim-easymotion' | |
Bundle 'tpope/vim-fugitive' | |
Bundle 'scrooloose/nerdtree' | |
Bundle 'SirVer/ultisnips' | |
Bundle 'tpope/vim-surround' | |
Bundle 'scrooloose/syntastic' | |
Bundle 'tomtom/tcomment_vim' | |
Bundle 'tpope/vim-abolish' | |
Bundle 'mattn/emmet-vim' | |
Bundle 'tpope/vim-dispatch' | |
Bundle 'majutsushi/tagbar' | |
" Syntax | |
Bundle 'pangloss/vim-javascript' | |
Bundle 'alunny/pegjs-vim' | |
Bundle 'nono/vim-handlebars' | |
Bundle 'wavded/vim-stylus' | |
Bundle 'fsouza/go.vim' | |
Bundle 'kchmck/vim-coffee-script' | |
Bundle 'digitaltoad/vim-jade' | |
Bundle 'wting/rust.vim' | |
Bundle 'guns/vim-clojure-static' | |
" Color Schemes | |
Bundle 'chriskempson/base16-vim' | |
Bundle 'jaywilliams/vim-vwilight' | |
filetype plugin indent on | |
syntax on | |
colorscheme base16-tomorrow | |
au WinLeave * set nocursorline | |
au WinEnter * set cursorline | |
set cursorline | |
set showcmd | |
set autoindent | |
set foldmethod=manual | |
set showmatch | |
set smarttab | |
set clipboard=unnamed | |
set mouse=a | |
set wildignore+=node_modules,javascripts-built,bower_components,test-result,tmp,precompiled | |
set ruler | |
set wildmenu | |
set incsearch | |
set autoread | |
set gdefault " always use g flag in s/// | |
" Gutter | |
set number | |
set hlsearch | |
" Whitespace | |
set tabstop=2 | |
set shiftwidth=2 | |
set softtabstop=2 | |
set expandtab | |
set backspace=indent,eol,start | |
set laststatus=2 | |
set shiftround | |
" Store swapfiles and backup files in .vim/tmp | |
set dir=~/.vim/tmp | |
set backupdir=~/.vim/tmp | |
" Mappings | |
let mapleader=',' " use , for leader instead of backslash | |
nmap <leader>w <C-W> | |
let g:airline#extensions#tabline#left_sep = ' ' | |
let g:airline#extensions#tabline#left_alt_sep = '|' | |
if !has('gui_running') | |
let g:airline#extensions#tabline#enabled = 1 | |
endif | |
let g:airline_powerline_fonts = 1 | |
let g:airline_theme='powerlineish' | |
let g:airline#extensions#tabline#show_buffers = 0 | |
let user_emmet_expandabbr_key='<C-e>' | |
let NERDTreeMinimalUI=1 | |
let NERDTreeMouseMode=3 | |
let g:UltiSnipsSnippetDirectories = ['UltiSnips', 'snippets'] | |
map <leader>d :NERDTreeToggle<CR> | |
map <leader>D :NERDTreeFocus<CR> | |
map <leader>v :vs<CR> | |
map <leader>t :TagbarToggle<CR> | |
nnoremap <silent> <leader>/ :nohlsearch<CR> " Unhighlight search results | |
map \ :TComment<cr> | |
vmap \ :TComment<cr>gv | |
set noerrorbells | |
com! FormatJSON %!python -m json.tool | |
com! FormatJS %!js-beautify -s 2 -f - | |
if has('gui_running') | |
set guifont=Source\ Code\ Pro\ for\ Powerline:h13 | |
set guioptions=Ace | |
set background=dark | |
colorscheme grb256 | |
endif | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
setopt prompt_subst | |
export CLICOLOR=1 | |
function parse_git_branch { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
echo " (${ref#refs/heads/})" | |
} | |
function chpwd() { | |
ls | |
} | |
local branch='$(parse_git_branch)' | |
PS1="%c$branch: "; | |
# Alias | |
alias ..="cd ../"; | |
alias ll="ls -l"; | |
alias g="git"; | |
export GOPATH=/Users/Merrick/.bin/go | |
export EDITOR=/usr/local/bin/vim | |
# Paths | |
export PATH=/Users/Merrick/.bin:.:/usr/local/heroku/bin:/usr/local/opt/ruby/bin:/usr/local/bin:$GOPATH/bin:$PATH; | |
export VAGRANT_DEFAULT_PROVIDER='vmware_fusion' | |
# Completions | |
fpath=(/usr/local/share/zsh/site-functions $fpath) | |
autoload -U compinit | |
compinit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment