When trying to run vim in diff mode, the diff files open as tabs and not in a split pane as expected.
Reproduce:
Open a file and allow workspace to be created
Close vim
Open in diff mode: vim -d a.txt b.txt
Note two tabs are added to the existing session/workspace.
Workaround:
Before using vim diff, delete Session.vim
Open in diff mode and compare files as expected
Is it possible to disable workspaces when vim is opened in diff mode? Don't restore a session or create a session from diff mode? Other option would be to open the files as expected in their own tab and add the to the workspace session.
Related to https://github.com/xolox/vim-session/issues/171:
When trying to run vim in diff mode, the diff files open as tabs and not in a split pane as expected.
Reproduce:
vim -d a.txt b.txt
Workaround:
Is it possible to disable workspaces when vim is opened in diff mode? Don't restore a session or create a session from diff mode? Other option would be to open the files as expected in their own tab and add the to the workspace session.