Created
November 2, 2014 10:58
-
-
Save benjamingorman/ec28075631e8ebae33cf 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
execute pathogen#infect() | |
set t_Co=256 "enable 256 terminal colours | |
colorscheme slate | |
set number | |
set ruler | |
set title | |
set tabstop=4 | |
set shiftwidth=4 | |
set softtabstop=4 | |
set expandtab "always use spaces instead of tabs | |
set shiftround "round indent to nearest shiftwidth multiple | |
set incsearch "highlight search string as i'm typing it | |
"switch between buffers easily | |
nmap <C-n> :bnext<CR> | |
nmap <C-p> :bprev<CR> | |
au Bufenter *.hs compiler ghc | |
syntax on | |
filetype plugin on | |
filetype plugin indent on | |
let g:haddock_browser="/usr/share/applications/Chromium" | |
map <silent> <A-Up> :wincmd k<CR> | |
map <silent> <A-Down> :wincmd w<CR> | |
map <silent> <A-Left> :wincmd h<CR> | |
map <silent> <A-Right> :wincmd l<CR> | |
map <F7> :tabp<CR> | |
map <F8> :tabn<CR> | |
set laststatus=2 "for vim-airline | |
"let g:airline#extensions#tabline#enabled = 1 | |
let g:airline_section_b='%{strftime("%T")}' | |
let g:airline_left_sep = '▶' | |
let g:airline_right_sep = '◀' | |
set ttimeoutlen=50 "reduce pause when leaving insert mode | |
let g:airline_theme='powerlineish' | |
"Syntastic | |
let g:syntastic_haskell_checkers = ['hlint'] | |
"NERDTree | |
nmap \e :NERDTreeToggle<CR> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment