All of my important config files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

15 lines
504 B

if has("nvim")
else
let g:syntastic_go_checkers = ['go', 'golint', 'govet']
endif
let g:go_fmt_command = "goimports"
au FileType go nmap <F5> <Plug>(go-run)
au FileType go nmap <leader>gi <Plug>(go-imports)
au FileType go nmap <leader>b <Plug>(go-build)
au FileType go nmap <leader>t <Plug>(go-test)
au FileType go nmap <leader>c <Plug>(go-coverage)
au FileType go nmap <Leader>gd <Plug>(go-doc)
au FileType go nmap <Leader>ml <Plug>(go-metalinter)
au FileType go nmap <Leader>r <Plug>(go-rename)