Skip to content

Instantly share code, notes, and snippets.

@akbiggs
Last active August 29, 2015 14:01
Show Gist options
  • Save akbiggs/0ba79e7215525273e7e9 to your computer and use it in GitHub Desktop.
Save akbiggs/0ba79e7215525273e7e9 to your computer and use it in GitHub Desktop.
set tabstop=2
set autoindent
set expandtab
set shiftwidth=2
set clipboard+=unnamed
set tw=80
set cursorline
set nostartofline
set background=dark
set shell=/bin/bash
if has ("autocmd")
" File type detection. Indent based on filetype. Recommended.
au BufReadPost * if line("'\"") > 0 && line("'\"") <= line("$")
\| exe "normal! g'\"" | endif
" Clojurescript type.
au BufRead,BufNewFile *.cljs set filetype=clojure
endif
auto BufEnter * let &titlestring = expand("%:t")
execute pathogen#infect()
syntax on
filetype plugin indent on
" Escape is annoying to type.
imap jj <Esc>
" Scrolling in iterm.
:set mouse=nicr
" Configure browser for haskell_doc.vim
let g:haddock_browser = "open"
let g:haddock_browser_callformat = "%s %s"
autocmd BufWritePre * :%s/\s\+$//e
set background=light
colorscheme solarized
set list listchars=tab:❘-,trail:·,extends:»,precedes:«,nbsp:×
let g:ctrlp_max_files=0
let g:ctrlp_max_depth=40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment