X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=vimrc;h=5141f596c77e83b5e5cfcf74868df93aac3bdb98;hb=95544c8b2416ea178887ea7aed81eaedbb1835f5;hp=5bc0894bb96d27f5a174276aa8c84b13c7b57ec1;hpb=35f1d8f86e839023a837fe978cd219fba168ff95;p=config%2Fdotfiles.git diff --git a/vimrc b/vimrc index 5bc0894..5141f59 100644 --- a/vimrc +++ b/vimrc @@ -105,9 +105,6 @@ if exists('+cryptmethod') set cryptmethod=blowfish endif -" Create new split windows on the right (and not left). -set splitright - " Clear all vimrc-related autocmds. Has to be done here as the vimrc augroup " is used multiple times. Necessary to support reloading the vimrc. if has('autocmd') @@ -236,6 +233,11 @@ endif " (add ! to override)" warning when switching buffers. set hidden +" When splitting vertically put the new window right of the current one. +if has('vertsplit') + set splitright +endif + " DISPLAY SETTINGS