I use gVim on windows and save my current working files to session. However, when openning old session, it did not load files from other folder except home folder ~ (where I store my _vimrc file). My _vimrc setting is as below:
autocmd! VimLeave * mks!
autocmd! VimEnter * if argc() == 0 | source ~/Session.vim | endif
File ~/test.txt was loaded but file C:\Users\VPG1HC\Desktop\project notes\test.txt was not loaded (it's empty). All the files are in current session. When I checked buffer, it's there but the content was empty. I opened with notepadd++ or reopened the file with Vim, then the content was loaded.
'shada'
option is just confusing. – Christian Brabandt Sep 29 '20 at 5:50