terminal mappings

This commit is contained in:
ManjaroOne666 2018-11-12 12:29:32 +00:00
parent 97146d76be
commit 597569efa1
1 changed files with 7 additions and 3 deletions

8
vimrc
View File

@ -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>
@ -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>