From c16e96435ce3d69be0a901e5c503e00beb4ed859 Mon Sep 17 00:00:00 2001 From: Rob Watson Date: Tue, 23 Mar 2021 07:46:31 +0100 Subject: [PATCH] Update vimrc --- vim/after/ftplugin/go.vim | 6 ++++-- vimrc | 4 +++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/vim/after/ftplugin/go.vim b/vim/after/ftplugin/go.vim index 13abcbf..2b22ad3 100644 --- a/vim/after/ftplugin/go.vim +++ b/vim/after/ftplugin/go.vim @@ -1,7 +1,9 @@ nmap gb :up:GoBuild nmap gr :up:GoRun -nmap gt :up:GoTest -nmap gf :up:GoTestFunc +nmap gt :up:GoTest! +nmap gT :up:GoTest +nmap gf :up:GoTestFunc! +nmap gF :up:GoTestFunc nmap gk :GoDocBrowser diff --git a/vimrc b/vimrc index 22c9580..cbf5258 100644 --- a/vimrc +++ b/vimrc @@ -100,7 +100,8 @@ augroup end set viewoptions-=curdir " Key mappings: -nmap ,/ :nohlsearch +nmap / :nohlsearch +nmap :nohlsearch nnoremap j gj nnoremap k gk map @@ -273,6 +274,7 @@ let g:lsp_settings = { \ 'staticcheck': v:true, \ 'hoverKind': 'SynopsisDocumentation', \ 'linksInHover': v:false, + \ 'experimentalWorkspaceModule': v:false, \ }}} let g:lsp_diagnostics_float_cursor = 1 let g:lsp_diagnostics_float_delay = 200