aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2024-01-27 15:55:05 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2024-01-27 15:55:05 -0500
commit3eb17ab82d41df901273e9cfd31a63280d543893 (patch)
tree60a44687b7d95089543f62ac663fd32ada9c4089
parent7b89148993284ce1955d758efa08ec17bc1576f9 (diff)
downloaddotfiles-3eb17ab82d41df901273e9cfd31a63280d543893.tar.gz
dotfiles-3eb17ab82d41df901273e9cfd31a63280d543893.tar.xz
Automatic resizing of windows in vim
-rw-r--r--dotfiles/vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/dotfiles/vimrc b/dotfiles/vimrc
index 34d7edc..18ce6b0 100644
--- a/dotfiles/vimrc
+++ b/dotfiles/vimrc
@@ -67,3 +67,6 @@ set nospell
" ctrl-w h (to return to the netrw listing)
" P (edit newly selected file in the previous window)
let g:netrw_liststyle=3
+
+set ea
+autocmd VimResized * wincmd =