The situation is: I have one MacVim open for coding. Then I switch to iTerm to run
git commit, which will open a new MacVim for editing the commit message per my setting. The problem is, when I finish writing the commit message and close the MacVim window, the previous iTerm window is not focused. The other MacVim window is focused instead.
Is there any way I can change this behaviour? I just want the previous window get focused when I close a window.