From 359f05727a398c9d233236676f8e0ec37e5c2c81 Mon Sep 17 00:00:00 2001 From: "flyingscorpio@arch-desktop" Date: Sat, 2 Jan 2021 23:18:36 +0100 Subject: [PATCH] Add remap to open vim terminal --- dotfiles/vim/vimrc | 7 +++++++ 1 file changed, 7 insertions(+) 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')