vimrc: update settings
This commit is contained in:
parent
39375f53d7
commit
6829ce94bb
|
@ -5,6 +5,7 @@ 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> K <plug>(lsp-hover)
|
||||
nmap <silent> <leader>gk :GoDocBrowser<cr>
|
||||
|
||||
nmap <silent> <leader>gv :vsplit<bar>:GoAlternate!<cr>
|
||||
|
@ -15,6 +16,8 @@ nmap <silent> <leader>gat <esc>:GoAddTags<cr>
|
|||
nmap <silent> <leader>grt <esc>:GoRemoveTags<cr>
|
||||
nmap <silent> <leader>gec <esc>:up<bar>:GoErrCheck<cr>
|
||||
|
||||
nnoremap <silent> <leader>_ caw_ <esc>b
|
||||
|
||||
nnoremap <silent> dr :GoDebugBreakpoint<cr>
|
||||
nnoremap <silent> d! :GoDebugStart<cr>
|
||||
nnoremap <silent> dc :GoDebugContinue<cr>
|
||||
|
|
9
vimrc
9
vimrc
|
@ -114,6 +114,7 @@ imap <right> <nop>
|
|||
nmap ]q :cn<cr>
|
||||
nmap [q :cp<cr>
|
||||
|
||||
nnoremap <silent> <leader>/ :nohlsearch<cr>
|
||||
nnoremap <silent> <leader><space> :nohlsearch<cr>
|
||||
" Select just-pasted text:
|
||||
nnoremap <silent> <leader>0 `[v`]
|
||||
|
@ -280,10 +281,10 @@ let g:lsp_settings = {
|
|||
\ 'experimentalWorkspaceModule': v:false,
|
||||
\ }}}
|
||||
let g:lsp_diagnostics_float_cursor = 1
|
||||
let g:lsp_diagnostics_float_delay = 200
|
||||
let g:lsp_diagnostics_highlight_delay = 200
|
||||
let g:lsp_diagnostics_signs_delay = 200
|
||||
let g:lsp_diagnostics_code_action_signs_delay = 200
|
||||
let g:lsp_diagnostics_float_delay = 175
|
||||
let g:lsp_diagnostics_highlight_delay = 175
|
||||
let g:lsp_diagnostics_signs_delay = 175
|
||||
let g:lsp_diagnostics_code_action_signs_delay = 175
|
||||
let g:lsp_document_highlight_delay = 500
|
||||
let g:lsp_async_completion = 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue