diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2024-07-27 18:06:54 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2024-07-27 18:06:54 -0300 |
commit | 163c5c9f5cf2c168f7d4feece55d06895f431411 (patch) | |
tree | a3f35601b364f643793131fe79ada73371ee58a9 | |
parent | 50e815675a860e75fea265c59b998b3b6ea6c69f (diff) | |
download | vim-163c5c9f5cf2c168f7d4feece55d06895f431411.tar.gz vim-163c5c9f5cf2c168f7d4feece55d06895f431411.tar.bz2 |
Fix: sessions: try sessionoptions-=buffers
-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 |