From 1907aa7bfb30146259bf75e6feeee820a8b039ff Mon Sep 17 00:00:00 2001 From: Felix Nehrke Date: Fri, 3 Jan 2025 16:24:24 +0100 Subject: [PATCH] Resize terminal in nvim to 10 lines automatically when opening --- .vimrc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.vimrc b/.vimrc index 0fbb236..743593f 100644 --- a/.vimrc +++ b/.vimrc @@ -155,8 +155,8 @@ nnoremap :botright terminal ++close inoremap :botright terminal ++close " nvim uses a different terminal approach – more vim-like actually :-P if has('nvim') - nnoremap :botright :split term://bashi - inoremap :botright :split term://bashi + nnoremap :botright :split term://bash:resize -100:set winheight=10 wfhi + inoremap :botright :split term://bash:resize -100:set winheight=10 wfhi tnoremap endif