Add remap to open vim terminal
This commit is contained in:
parent
dc8cf2f48a
commit
359f05727a
1 changed files with 7 additions and 0 deletions
|
@ -23,6 +23,13 @@ nmap <leader>p "*p
|
||||||
|
|
||||||
" run make
|
" run make
|
||||||
nmap <leader>m :w<CR>:!make<CR>
|
nmap <leader>m :w<CR>:!make<CR>
|
||||||
|
|
||||||
|
" open terminal in split window
|
||||||
|
if has('nvim')
|
||||||
|
nmap <leader>t :below 10split<CR>:terminal<CR>i
|
||||||
|
else
|
||||||
|
nmap <leader>t :below terminal ++rows=10<CR>
|
||||||
|
endif
|
||||||
" }}}
|
" }}}
|
||||||
" VIM-PLUG {{{
|
" VIM-PLUG {{{
|
||||||
call plug#begin('~/.vim/plugged')
|
call plug#begin('~/.vim/plugged')
|
||||||
|
|
Loading…
Add table
Reference in a new issue