Disable vim terminal cmd
This commit is contained in:
parent
cef7886859
commit
816a0be564
25
vimrc
25
vimrc
|
@ -620,18 +620,19 @@ noremap Q <Nop>
|
|||
"------------------------------------------------------------
|
||||
|
||||
" Open a terminal within vim. Use `exit` to close it.
|
||||
if exists(':terminal')
|
||||
noremap <leader>t :terminal<cr>
|
||||
tnoremap <leader>te <C-\><C-n>
|
||||
tnoremap <A-h> <C-\><C-n><C-w>h
|
||||
tnoremap <A-j> <C-\><C-n><C-w>j
|
||||
tnoremap <A-k> <C-\><C-n><C-w>k
|
||||
tnoremap <A-l> <C-\><C-n><C-w>l
|
||||
nnoremap <A-h> <C-w>h
|
||||
nnoremap <A-j> <C-w>j
|
||||
nnoremap <A-k> <C-w>k
|
||||
nnoremap <A-l> <C-w>l
|
||||
endif
|
||||
" DISABLING because I don't use this and I want to use the <leader>t for opening my todo file.
|
||||
"if exists(':terminal')
|
||||
" noremap <leader>t :terminal<cr>
|
||||
" tnoremap <leader>te <C-\><C-n>
|
||||
" tnoremap <A-h> <C-\><C-n><C-w>h
|
||||
" tnoremap <A-j> <C-\><C-n><C-w>j
|
||||
" tnoremap <A-k> <C-\><C-n><C-w>k
|
||||
" tnoremap <A-l> <C-\><C-n><C-w>l
|
||||
" nnoremap <A-h> <C-w>h
|
||||
" nnoremap <A-j> <C-w>j
|
||||
" nnoremap <A-k> <C-w>k
|
||||
" nnoremap <A-l> <C-w>l
|
||||
"endif
|
||||
|
||||
" Jump to other buffers.
|
||||
noremap <c-k> <c-w><Up>
|
||||
|
|
Loading…
Reference in New Issue
Block a user