Last active
October 26, 2015 15:42
-
-
Save Ivanknmk/dd41fa91f3fd99030fa7 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 nocompatible " be iMproved, required | |
filetype off " required | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
Plugin 'pbrisbin/vim-syntax-shakespeare' | |
Plugin 'rking/ag.vim' | |
Plugin 'tpope/vim-unimpaired' | |
Plugin 'tpope/vim-sensible' | |
Plugin 'scrooloose/syntastic' | |
Plugin 'lukerandall/haskellmode-vim' | |
Plugin 'eagletmt/ghcmod-vim' | |
Plugin 'eagletmt/neco-ghc' | |
Plugin 'Shougo/vimproc.vim' | |
Plugin 'Shougo/neocomplete.vim' | |
Plugin 'Shougo/vimshell.vim' | |
Plugin 'jpalardy/vim-slime' | |
Plugin 'bitc/vim-hdevtools' | |
Plugin 'bronson/vim-trailing-whitespace' | |
Plugin 'Shougo/unite.vim' | |
Plugin 'altercation/vim-colors-solarized' | |
Plugin 'bling/vim-airline' | |
Plugin 'airblade/vim-gitgutter' | |
let g:neocomplete#enable_at_startup = 1 | |
let g:necoghc_enable_detailed_browse = 1 | |
inoremap <expr><TAB> pumvisible() ? "\<C-n>" : "\<TAB>" | |
set statusline+=%#warningmsg# | |
set statusline+=%{SyntasticStatuslineFlag()} | |
set statusline+=%* | |
let g:syntastic_always_populate_loc_list = 1 | |
let g:syntastic_auto_loc_list = 1 | |
let g:syntastic_check_on_wq = 0 | |
let g:syntastic_haskell_ghc_mod_exec = 'ghc-mod.sh' | |
let g:haddock_browser = "open" | |
let g:haddock_browser_callformat = "%s %s" | |
let g:airline#extensions#tabline#enabled = 1 | |
let g:hamlet_prevent_invalid_nesting = 0 | |
let g:slime_target = "tmux" | |
let g:slime_paste_file = tempname() | |
let mapleader="," | |
nnoremap ; : | |
set pastetoggle=<F8> | |
inoremap jk <Esc> | |
" Unite | |
let g:unite_source_history_yank_enable = 1 | |
call unite#filters#matcher_default#use(['matcher_fuzzy']) | |
nnoremap <leader>t :<C-u>Unite -no-split -buffer-name=files -start-insert file_rec/async:!<cr> | |
nnoremap <leader>f :<C-u>Unite -no-split -buffer-name=files -start-insert file<cr> | |
nnoremap <leader>r :<C-u>Unite -no-split -buffer-name=mru -start-insert file_mru<cr> | |
nnoremap <leader>o :<C-u>Unite -no-split -buffer-name=outline -start-insert outline<cr> | |
nnoremap <leader>y :<C-u>Unite -no-split -buffer-name=yank history/yank<cr> | |
nnoremap <leader>e :<C-u>Unite -no-split -buffer-name=buffer buffer<cr> | |
" --- type ° to search the word in all files in the current dir | |
nnoremap <leader>al :Ag <c-r>=expand("<cword>")<cr><cr> | |
nnoremap <leader>ag :Ag |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment