Update terminal command and keybinds for Vim/Neovim

This commit is contained in:
Dionisio E Alonso 2021-07-30 23:49:59 -03:00
parent aba33b1a2f
commit 5d1d031997
2 changed files with 6 additions and 4 deletions

View File

@ -52,8 +52,9 @@ if has('autocmd')
autocmd TermClose * call feedkeys('\<cr>')
augroup END
endif
command -nargs=? Terminal 16split|terminal <args>
nnoremap <silent> <leader>tt :16split<cr>:terminal<cr>
command -nargs=? Terminal rightbelow 16split +terminal\ <args>
nnoremap <silent> <leader>tt :rightbelow 16split +terminal<cr>
tnoremap <Esc> <C-\><C-n><C-w>p
" Theming
let g:aldmeris_transparent = v:true

View File

@ -45,8 +45,9 @@ let g:indentLine_leadingSpaceEnabled = v:true
runtime! language_server.vim
command -nargs=? Terminal terminal ++rows=16 <args>
nnoremap <silent> <leader>tt :terminal ++rows=16<CR>
command -nargs=? Terminal rightbelow terminal ++rows=16 <args>
nnoremap <silent> <leader>tt :rightbelow terminal ++rows=16<CR>
tnoremap <Esc> <C-\><C-n><C-w>p
" Theming
let g:aldmeris_transparent = v:true