From cd9b06d987e309db8f175cfa81d4076f3eeb48cb Mon Sep 17 00:00:00 2001 From: Ade Attwood Date: Thu, 8 Sep 2022 20:39:10 +0100 Subject: [PATCH] fix(vim): ensure new split are make in the correct direction vsplit This is created to the right of the current window split This is made below the current window --- site-modules/core/files/vim/init.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/site-modules/core/files/vim/init.vim b/site-modules/core/files/vim/init.vim index 04b7cef..b1e40f7 100644 --- a/site-modules/core/files/vim/init.vim +++ b/site-modules/core/files/vim/init.vim @@ -16,6 +16,11 @@ set scrolloff=20 " Using the mouse set mouse=a +" Ensure `split` is made below and `vsplit` are make to the right of the +" current window +set splitright +set splitbelow + " Tabs and indenting set tabstop=4 set shiftwidth=4