nmap gb :GoBuild nmap gc :GoCallers nmap gi :GoImplements nmap ^ :GoAlternate nmap gk :GoDocBrowser nmap gd :GoDecls nmap gD :GoDeclsDir nmap gv :vsplit:GoAlternate! nmap gs :split:GoAlternate! nmap gt :w :GoTest nmap gf :w :GoTestFunc nmap gat :GoAddTags nmap grt :GoRemoveTags nnoremap dr :GoDebugBreakpoint nnoremap d! :GoDebugStart nnoremap dc :GoDebugContinue nnoremap dq :GoDebugStop nnoremap dn :GoDebugNext nnoremap ds :GoDebugStep " Vim-Go configuration: let g:go_decls_mode = 'skim' 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, \ 'unusedparams': v:true, \ 'unusedresult': v:true, \ 'shadow': v:true, \ } let g:go_fmt_options = { \ 'goimports': '-local github.com/sensiblecodeio/cantabular', \ } 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 httph http.Handler iabbrev httphf http.HandlerFunc 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 iabbrev []b []byte()i