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.

10 lines
424 B

  1. let g:syntastic_go_checkers = ['go', 'golint', 'govet']
  2. let g:go_fmt_command = "goimports"
  3. au FileType go nmap <F5> <Plug>(go-run)
  4. au FileType go nmap <leader>gi <Plug>(go-imports)
  5. au FileType go nmap <leader>b <Plug>(go-build)
  6. au FileType go nmap <leader>t <Plug>(go-test)
  7. au FileType go nmap <leader>c <Plug>(go-coverage)
  8. au FileType go nmap <Leader>gd <Plug>(go-doc)
  9. au FileType go nmap <Leader>ml <Plug>(go-metalinter)