X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/dd4a806cf3918fc6b20de40f1c9d344f5ece4f0a..2c9bc7b49893235446c5274ed0a42e1206b4ee4b:/vim/vimrc diff --git a/vim/vimrc b/vim/vimrc index 5f0dea3..d92ec16 100644 --- a/vim/vimrc +++ b/vim/vimrc @@ -376,9 +376,9 @@ set sessionoptions+=unix,slash " damn windows and it's silly ways " autocmds {{{1 " Resize splits when the window is resized {{{2 -augroup resize +augroup resize_splits au! - autocmd VimResized * :wincmd = + autocmd VimResized * :tabdo wincmd = augroup END " Only show cursorline in the current window and in normal mode {{{2 @@ -395,7 +395,7 @@ augroup ft_stdin augroup END " Jump to last known cursor position {{{2 -augroup cursor_pos +augroup last_loc au! " blacklist certain filetype let blacklist = ['gitcommit']