nmap gb :up:GoBuild nmap gr :up:GoRun nmap gt :up:GoTest! nmap gT :up:GoTest nmap gf :up:GoTestFunc! nmap gF :up:GoTestFunc nmap gj :GoDecls nmap gJ :GoDeclsDir nmap K (lsp-hover) nmap gk :GoDocBrowser nmap gv :vsplit:GoAlternate! nmap gV :vsplit:GoAlternate! nmap gs :split:GoAlternate! nmap gS :split:GoAlternate! nmap gat :GoAddTags nmap grt :GoRemoveTags nmap gec :up:GoErrCheck nnoremap _ ciw_b nnoremap dr :GoDebugBreakpoint nnoremap d! :GoDebugStart nnoremap dc :GoDebugContinue nnoremap dq :GoDebugStop nnoremap dn :GoDebugNext nnoremap ds :GoDebugStep " Vim-Go configuration let g:go_gopls_enabled = 0 let g:go_fmt_autosave = 1 let g:go_fmt_command = "goimports" let g:go_imports_autosave = 0 let g:go_textobj_enabled = 0 let g:go_auto_sameids = 0 let g:go_auto_type_info = 0 let g:go_code_completion_enabled = 0 let g:go_echo_command_info = 0 let g:go_echo_go_info = 0 let g:go_textobj_enabled = 0 let g:go_highlight_diagnostic_errors = 0 let g:go_highlight_diagnostic_warnings = 0 let g:go_highlight_trailing_whitespace_error=0 let g:go_fmt_command = 'goimports' " g:go_statusline_duration doesn't seem to work accurately, but does help " reduce the time the build/test success messages are shown in the status " line. let g:go_statusline_duration = 1000 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 errf ccif err != nil {log.Fatal(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 iabbrev logd log.Debug().Msg(" iabbrev logi log.Info().Msg(" iabbrev loge log.Error().Msg(" iabbrev logf log.Fatal().Msg(" iabbrev rn return nil iabbrev fnc func() {}kcc iabbrev ctxcc ctx context.Context