aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2019-06-11 13:02:09 +1200
committerTom Ryder <tom@sanctum.geek.nz>2019-06-11 13:02:09 +1200
commit8c6d5718a1814aba1ddf8bce4815bf9add39f0b3 (patch)
tree1fd8837e98a01feba99b80ec80a7fe3e39b788c7
parentRefactor <C-L> remaps, :v/:i in terms of :n (diff)
downloaddotfiles-8c6d5718a1814aba1ddf8bce4815bf9add39f0b3.tar.gz
dotfiles-8c6d5718a1814aba1ddf8bce4815bf9add39f0b3.zip
Restore 'splitbelow' and 'splitright'
I just can't get used to the default.
-rw-r--r--vim/vimrc8
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 857b96af..aa935644 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -777,6 +777,14 @@ set sessionoptions-=options " No global options or mappings
"
set shortmess+=I
+" I find the defaults of new windows opening above or to the left of the
+" previous window too jarring, because I'm used to both the i3 window manager
+" and the tmux terminal multiplexer doing it the other way around, in reading
+" order. I prefer the visual effect of the previous text staying where it is,
+" and the new window occupying previously blank space.
+"
+set splitbelow splitright
+
" Limit the number of characters per line that syntax highlighting will
" attempt to match. This is as much an effort to encourage me to break long
" lines and do hard wrapping correctly as it is for efficiency.