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

7 years ago
  1. if has("nvim")
  2. else
  3. let g:syntastic_go_checkers = ['go', 'golint', 'govet']
  4. endif
  5. let g:go_fmt_command = "goimports"
  6. au FileType go nmap <F5> <Plug>(go-run)
  7. au FileType go nmap <leader>gi <Plug>(go-imports)
  8. au FileType go nmap <leader>b <Plug>(go-build)
  9. au FileType go nmap <leader>t <Plug>(go-test)
  10. au FileType go nmap <leader>c <Plug>(go-coverage)
  11. au FileType go nmap <Leader>gd <Plug>(go-doc)
  12. au FileType go nmap <Leader>ml <Plug>(go-metalinter)
  13. au FileType go nmap <Leader>r <Plug>(go-rename)