diff options
Diffstat (limited to 'vimrc.dot.link')
-rw-r--r-- | vimrc.dot.link | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vimrc.dot.link b/vimrc.dot.link index 78d7376..ed7b829 100644 --- a/vimrc.dot.link +++ b/vimrc.dot.link @@ -417,6 +417,10 @@ let g:session_autosave='yes' let g:session_autoload='no' let g:session_directory='~/.local/share/vim/sessions' +" Don't save hidden and unloaded buffers in sessions. +" https://github.com/xolox/vim-session?tab=readme-ov-file#options +set sessionoptions-=buffers + " Autosave " See https://github.com/vim-scripts/vim-auto-save "let g:auto_save = 1 |