Focus previous window when I close one instead of one of the same application in Mac OS X?
        Posted  
        
            by 
                lilydjwg
            
        on Super User
        
        See other posts from Super User
        
            or by lilydjwg
        
        
        
        Published on 2012-07-13T02:10:59Z
        Indexed on 
            2012/09/19
            15:43 UTC
        
        
        Read the original article
        Hit count: 270
        
osx
|window-focus
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.
© Super User or respective owner