terminal mappings
This commit is contained in:
parent
97146d76be
commit
597569efa1
10
vimrc
10
vimrc
|
@ -319,10 +319,11 @@ Plug 'AndrewRadev/switch.vim'
|
||||||
let g:switch_mapping = '<space>-'
|
let g:switch_mapping = '<space>-'
|
||||||
let g:switch_custom_definitions = [
|
let g:switch_custom_definitions = [
|
||||||
\ ['0', '1'],
|
\ ['0', '1'],
|
||||||
\ ['ease-in', 'ease-out'],
|
\ ['ease-in', 'ease-out', 'ease-in-out', 'linear'],
|
||||||
\ ['auto', 'none'],
|
\ ['auto', 'none'],
|
||||||
\ ['left', 'right'],
|
\ ['left', 'right'],
|
||||||
\ ['top', 'bottom'],
|
\ ['top', 'bottom'],
|
||||||
|
\ ['row', 'column'],
|
||||||
\ ['relative', 'absolute', 'fixed']
|
\ ['relative', 'absolute', 'fixed']
|
||||||
\ ]
|
\ ]
|
||||||
|
|
||||||
|
@ -379,7 +380,7 @@ let g:lsp_signs_information = {'text': '--'}
|
||||||
let g:lsp_signs_hint = {'text': '--'}
|
let g:lsp_signs_hint = {'text': '--'}
|
||||||
let g:lsp_diagnostics_echo_cursor = 1
|
let g:lsp_diagnostics_echo_cursor = 1
|
||||||
let g:lsp_diagnostics_echo_delay = 0
|
let g:lsp_diagnostics_echo_delay = 0
|
||||||
nnoremap \l :LspDocumentDiagnostics<cr>
|
nnoremap \l :cclose<CR>:LspDocumentDiagnostics<cr>
|
||||||
nnoremap \h :LspHover<cr>
|
nnoremap \h :LspHover<cr>
|
||||||
nnoremap \d :LspDefinition<cr>
|
nnoremap \d :LspDefinition<cr>
|
||||||
nnoremap \r :LspReferences<cr>
|
nnoremap \r :LspReferences<cr>
|
||||||
|
@ -388,7 +389,7 @@ nnoremap \s :LspDocumentSymbol<cr>
|
||||||
nnoremap \w :LspWorkspaceSymbol<cr>
|
nnoremap \w :LspWorkspaceSymbol<cr>
|
||||||
nnoremap \ff :LspDocumentFormat<cr>
|
nnoremap \ff :LspDocumentFormat<cr>
|
||||||
nnoremap \fr :LspDocumentRangeFormat<cr>
|
nnoremap \fr :LspDocumentRangeFormat<cr>
|
||||||
augroup User lsp_setup
|
augroup User lsp_setup
|
||||||
autocmd!
|
autocmd!
|
||||||
if executable('vls')
|
if executable('vls')
|
||||||
autocmd User lsp_setup call lsp#register_server({
|
autocmd User lsp_setup call lsp#register_server({
|
||||||
|
@ -990,6 +991,9 @@ nnoremap <space>dd :DD<CR>
|
||||||
" write and delete current buffer
|
" write and delete current buffer
|
||||||
nnoremap <space>bx :w\|bd<cr>
|
nnoremap <space>bx :w\|bd<cr>
|
||||||
|
|
||||||
|
"}}}
|
||||||
|
" terminal{{{
|
||||||
|
tnoremap <Esc> <C-\><C-n>
|
||||||
"}}}
|
"}}}
|
||||||
" git mappings {{{
|
" git mappings {{{
|
||||||
nnoremap <space>gs :Gstatus<CR>
|
nnoremap <space>gs :Gstatus<CR>
|
||||||
|
|
Loading…
Reference in New Issue