Last active
August 29, 2015 14:01
-
-
Save akbiggs/0ba79e7215525273e7e9 to your computer and use it in GitHub Desktop.
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
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