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