map gb :GoBuild map i :GoImplements map ^ :GoAlternate map d :GoDoc map gv :vsplit:GoAlternate! map gs :split:GoAlternate! map gt :w :GoTest map gf :w :GoTestFunc nnoremap gd :GoToDefinition nnoremap dr :GoDebugBreakpoint nnoremap d! :GoDebugStart nnoremap dc :GoDebugContinue nnoremap dq :GoDebugStop nnoremap dn :GoDebugNext nnoremap ds :GoDebugStep " Vim-Go configuration: let g:go_fmt_autosave = 0 " Vim-Go seems to handle fix-on-save better than ALE: let g:go_imports_autosave = 1 let g:go_auto_sameids = 0 let g:go_auto_type_info = 0 let g:go_info_mode = "gopls" let g:go_highlight_functions = 1 let g:go_term_enabled = 0 let g:go_term_close_on_exit = 0 let g:go_gopls_analyses = { \ 'composites': v:false, \ } let g:go_fmt_options = { \ 'goimports': '-local github.com/sensiblecodeio/cantabular', \ } autocmd BufNewFile,BufRead *.gohtml set syntax=gohtmltmpl autocmd BufNewFile,BufRead *.go nmap g6 :GoAlternate! iabbrev fmtpl fmt.Println("")hi iabbrev fmtpf fmt.Printf("\n")3hi iabbrev mk make([]MyType, 0)9h iabbrev wr w http.ResponseWriter, r *http.Request iabbrev fttt ccfunc TestSomething(t *testing.T) {}k9l iabbrev ttt t *testing.T iabbrev errP ccif err != nil {panic(err)} iabbrev errl ccif err != nil {log.Println(err)} iabbrev errp ccif err != nil {fmt.Println(err)} iabbrev errr ccif err != nil {return err} iabbrev defr ccdefer func() {}()ki