zefei / vim-wintabs

Modern buffer manager for Vim
MIT License
325 stars 25 forks source link

Tabs/buffers are not restored on session load #42

Closed dylan-chong closed 6 years ago

dylan-chong commented 6 years ago

Replication:

  1. Open vim with a session, and file A
  2. Open another buffer for file B
  3. Save the session and wqa
  4. Reopen vim with the session. File B is restored but not file A
zefei commented 6 years ago

Hey, thanks for the report and repro. However I can't repro it with minimal settings. For this issue, I'd really need a minimal vimrc and more detailed repro steps (actual ex-commands), because I suspect it has something to do with other plugins.

dylan-chong commented 6 years ago

Hey thanks for trying to replicate it. I suspect that one extra step I didn't mention was that vim must be opened in the ~ directory, but I will try and find a minimal rc to replicate it sometime.

On 31/07/2018, at 7:26 PM, Zefei Xuan notifications@github.com wrote:

Hey, thanks for the report and repro. However I can't repro it with minimal settings. For this issue, I'd really need a minimal vimrc and more detailed repro steps (actual ex-commands), because I suspect it has something to do with other plugins.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.

dylan-chong commented 6 years ago

Hello again, I have done some thorough testing and I have come to the conclusion that the issue must have been caused by some strange corruption issue with my Session.vim file. The problem seems to have gone away if I delete the old session file and create a new one, manually opening up all of my old files.