diff --git a/vim/.vimrc b/vim/.vimrc index 0effbaa..da57da3 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -178,14 +178,14 @@ augroup vimrc " save folds/cursor positions of buffers " FIXME: uncommenting these is now deleting buffers when switching as of " 2021-11-16 - "autocmd BufWinLeave *.* mkview - "autocmd BufWinEnter *.* silent loadview + autocmd BufWinLeave *.* mkview + autocmd BufWinEnter *.* silent loadview " glsl filetype plugin autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl " read .h files as cpp - autocmd! BufNewFIle,BufRead *.h set ft=cpp + autocmd! BufNewFile,BufRead *.h set ft=cpp " set foldmethod to indent for python files autocmd FileType python setlocal foldmethod=indent