prompt-toolkit / pyvim

Pure Python Vim clone.
BSD 3-Clause "New" or "Revised" License
2.52k stars 161 forks source link

Opening multiple panes on startup leads to strange behaviors #93

Open dragon788 opened 7 years ago

dragon788 commented 7 years ago

I frequently use vim -O somefile.py test_somefile.py and when using pyvim the same way I'm running into a case where when I make changes to the secondary file (right pane) and save :w, they apparently aren't actually being written, as when I go to :q it warns me that a file has changes that haven't been written.

I only discovered this because when running pytest via :!pytest the failing test was from before I made my changes, and the tests should have been passing and the traceback output showed the old code. Making these changes via vim instead has the test passing.