gioele / vim-autoswap

Please Vim, stop with these swap file messages. Just switch to the correct window!
Creative Commons Zero v1.0 Universal
115 stars 25 forks source link

File not opening when trying to open same file in another session #23

Closed sdondley closed 5 years ago

sdondley commented 5 years ago

I had Conway's old version of autoswap working. At some point, it stopped working properly. I would open another version of a file in a different vim session and it would give me a black screen. I could usually hit CTRL-C and bring up the file. Sometimes, though, especially, with tmux, the file would hang indefinitely and never open.

I decided to try to address this issue with this plugin. However, now the second file refuses to load at all. After doing vim <file>, the screen goes black briefly and then spits me back out to command line.

I've got nvim 0.3.4, which I suspect might be the issue. I'm running MacOS with vim 8. Please advise.

sdondley commented 5 years ago

OK, found the problem. I got a hint with the help of this issue: https://github.com/gioele/vim-autoswap/issues/20.

The problem is particular to my environment and, specifically, some kind of weird bug with some software installed on my machine. Every time the osascript command is issued, hundreds of errors are thrown by this software component from "EyeTV" for watching TV on your computer (it's an older piece of software).

The solution to this problem is to move the software component out of the library. See https://macscripter.net/viewtopic.php?pid=194781 for details.