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 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_fmt_options = { \ 'goimports': '-local github.com/sensiblecode.com/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