Skip to content
This repository was archived by the owner on May 29, 2023. It is now read-only.

Diff mode doesn't work as expected with existing workspace #54

Open
kevingunn-wk opened this issue Aug 25, 2022 · 0 comments
Open

Diff mode doesn't work as expected with existing workspace #54

kevingunn-wk opened this issue Aug 25, 2022 · 0 comments

Comments

@kevingunn-wk
Copy link

Related to xolox/vim-session#171:

When trying to run vim in diff mode, the diff files open as tabs and not in a split pane as expected.

Reproduce:

  1. Open a file and allow workspace to be created
  2. Close vim
  3. Open in diff mode: vim -d a.txt b.txt
  4. Note two tabs are added to the existing session/workspace.

Workaround:

  1. Before using vim diff, delete Session.vim
  2. 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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant