aboutsummaryrefslogtreecommitdiffstats
path: root/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/vimrc b/vimrc
index 3a980ae..e6e3876 100644
--- a/vimrc
+++ b/vimrc
@@ -30,6 +30,9 @@ syntax enable
" Fix performance issue with long lines
set synmaxcol=200
+" Fix splits after resize events
+autocmd VimResized * wincmd =
+
" Plugins config
let g:clang_c_options = '-std=gnu11'
let g_clang_cpp_options = '-std=c++11 -stdlib=libc++'