Closed TSFoster closed 7 years ago
Sorry, just answered your question thinking you were commenting on my other PR. Here's the actual reason:
I use tmuxinator to start up my environment, so I am quite often launching vim while not actually on that window. You want the window title of vim to be renamed, not the one you happen to currently be on. This fix just copies the behaviour of what prosession does when vim quits
Hey, this has actually been on my radar myself, I just didn't have enough time / motivation to fix it yet. There are times when I launch vim but switch windows to do something else while vim is loading so at times this issue crops up (not often enough to be a huge issue though).
Thanks for fixing this!
Renames the tmux window that vim is in, instead of the one that is currently active