|
|
|
@ -178,14 +178,14 @@ augroup vimrc |
|
|
|
" save folds/cursor positions of buffers |
|
|
|
" save folds/cursor positions of buffers |
|
|
|
" FIXME: uncommenting these is now deleting buffers when switching as of |
|
|
|
" FIXME: uncommenting these is now deleting buffers when switching as of |
|
|
|
" 2021-11-16 |
|
|
|
" 2021-11-16 |
|
|
|
"autocmd BufWinLeave *.* mkview |
|
|
|
autocmd BufWinLeave *.* mkview |
|
|
|
"autocmd BufWinEnter *.* silent loadview |
|
|
|
autocmd BufWinEnter *.* silent loadview |
|
|
|
|
|
|
|
|
|
|
|
" glsl filetype plugin |
|
|
|
" glsl filetype plugin |
|
|
|
autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl |
|
|
|
autocmd! BufNewFile,BufRead *.vs,*.fs set ft=glsl |
|
|
|
|
|
|
|
|
|
|
|
" read .h files as cpp |
|
|
|
" 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 |
|
|
|
" set foldmethod to indent for python files |
|
|
|
autocmd FileType python setlocal foldmethod=indent |
|
|
|
autocmd FileType python setlocal foldmethod=indent |
|
|
|
|