Update vimrc
This commit is contained in:
parent
c247ca55b3
commit
c16e96435c
|
@ -1,7 +1,9 @@
|
|||
nmap <silent> <leader>gb :up<bar>:GoBuild<cr>
|
||||
nmap <silent> <leader>gr :up<bar>:GoRun<cr>
|
||||
nmap <silent> <leader>gt :up<bar>:GoTest<cr>
|
||||
nmap <silent> <leader>gf :up<bar>:GoTestFunc<cr>
|
||||
nmap <silent> <leader>gt :up<bar>:GoTest!<cr>
|
||||
nmap <silent> <leader>gT :up<bar>:GoTest<cr>
|
||||
nmap <silent> <leader>gf :up<bar>:GoTestFunc!<cr>
|
||||
nmap <silent> <leader>gF :up<bar>:GoTestFunc<cr>
|
||||
|
||||
nmap <silent> <leader>gk :GoDocBrowser<cr>
|
||||
|
||||
|
|
4
vimrc
4
vimrc
|
@ -100,7 +100,8 @@ augroup end
|
|||
set viewoptions-=curdir
|
||||
|
||||
" Key mappings:
|
||||
nmap <silent> ,/ :nohlsearch<CR>
|
||||
nmap <silent> <leader>/ :nohlsearch<CR>
|
||||
nmap <silent> <leader><space> :nohlsearch<CR>
|
||||
nnoremap j gj
|
||||
nnoremap k gk
|
||||
map <up> <nop>
|
||||
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue