diff --git a/dotfiles/vim/vimrc b/dotfiles/vim/vimrc index 3b0e190..43670d8 100644 --- a/dotfiles/vim/vimrc +++ b/dotfiles/vim/vimrc @@ -23,6 +23,13 @@ nmap p "*p " run make nmap m :w:!make + +" open terminal in split window +if has('nvim') + nmap t :below 10split:terminali +else + nmap t :below terminal ++rows=10 +endif " }}} " VIM-PLUG {{{ call plug#begin('~/.vim/plugged')