Skip to content

Instantly share code, notes, and snippets.

@bangedorrunt
Created May 29, 2015 06:02
Show Gist options
  • Save bangedorrunt/2273616d81305c3eb8d3 to your computer and use it in GitHub Desktop.
Save bangedorrunt/2273616d81305c3eb8d3 to your computer and use it in GitHub Desktop.
Vim Plugin Configs
"" SYNTASTIC CONFIG
"" ----------------
set statusline+=%#warningmsg#
set statusline+=%{SyntasticStatuslineFlag()}
set statusline+=%*
let g:syntastic_aggregate_errors = 1
let g:syntastic_always_populate_loc_list = 1
let g:syntastic_auto_loc_list = 1
let g:syntastic_check_on_open = 1
let g:syntastic_check_on_wq = 0
let g:syntastic_javascript_checkers = ['eslint']
nnoremap <silent> <f6> :<c-u>Errors<cr>
"" UNITE.VIM CONFIG
"" ----------------
call unite#custom#source('buffer,file,file_rec,file_rec/async,file_rec/neovim','ignore_pattern',
\ '\.atom/\|\.git/\|node_modules/|bower_components/\|.npm/\|\.nvm/\|\.rbenv/\|\.gem/\|\.node-gyp')
call unite#custom#source('file_rec,file_rec/async,file_rec/neovim', 'max_candidates', 25000)
let g:unite_source_history_yank_enable = 1
nnoremap <silent> <leader>y :<c-u>Unite history/yank<cr>
nnoremap <silent> <leader>b :<c-u>Unite buffer bookmark neomru/file<cr>
nnoremap <silent> <leader>r :<c-u>Unite register<cr>
nnoremap <silent> <leader>d :<c-u>UniteBookmarkAdd<cr>
nnoremap <silent> <c-p> :<c-u>Unite file_rec/async<cr>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment