Updating keymaps, making saving go files not be slow.
This commit is contained in:
parent
497d177910
commit
0a7e162c70
@ -1,2 +1 @@
|
||||
setlocal noexpandtab
|
||||
let b:argwrap_wrap_closing_brace = 0
|
||||
|
@ -15,6 +15,12 @@ nnoremap <silent> <leader>a :ArgWrap<Cr>
|
||||
vmap <Cr> <Plug>(EasyAlign)
|
||||
nmap ga <Plug>(EasyAlign)
|
||||
|
||||
" vim-go
|
||||
auto FileType go nmap <leader>b <Plug>(go-build)
|
||||
auto FileType go nmap <leader>c <Plug>(go-coverage)
|
||||
auto FileType go nmap <leader>r <Plug>(go-run)
|
||||
auto FileType go nmap <leader>t <Plug>(go-test)
|
||||
|
||||
" vim-fswitch
|
||||
noremap <silent> <leader>fs :FSHere<Cr>
|
||||
|
||||
|
@ -48,12 +48,16 @@ call plug#end()
|
||||
let g:ctrlp_cmd = 'CtrlPMixed'
|
||||
|
||||
" syntastic
|
||||
let g:syntastic_python_checkers = ['pyflakes']
|
||||
auto FileType go let b:syntastic_mode = "passive"
|
||||
let g:syntastic_always_populate_loc_list = 1
|
||||
let g:syntastic_python_checkers = ['pyflakes']
|
||||
|
||||
" vim-airline
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
||||
" vim-argwrap
|
||||
auto FileType go let b:argwrap_wrap_closing_brace = 0
|
||||
|
||||
" vim-gitgutter
|
||||
let g:gitgutter_max_signs = 10000
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user