Default window management scheme in Mac OS X is not well-polished. For example, there is no way to make an application occupy left half of the screen or to make an application always stay on top. To improve on that, my personal setup includes following applications.
- Better Touch Tool – At the most basic level, it provides “Window snapping” feature, drag the window to top-left and it expands to full screen. It allows full control of gestures and keyboard shortcuts. My personal setup includes “cmd + option + Tab” to switch between active windows of the same application. It is available via homebrew cask.
brew cask install bettertouchtool
- Spectacle – Spectacle allows quick resizing and shifting of windows. For example, Cmd + option + right/top/left/down arrow key will make the currently focused application occupy right/top/left/bottom half of the screen, respectively. Ameythst, Divvy or Moom are popular alternatives to Spectacle, an even bigger list can be seen here. Spectacle is available via homebrew as well.
brew cask install spectacle
- Afloat – To keep a window floating on top of other windows. Unfortunately, setting this up is a bit convoluted and is not guaranteed to work. Following approach worked for me.
This approach is based on findings of Ankur Gupta and Norio Nomura.
- Install SIMBL
- Download SIMBL 0.9.9.
- Extract the downloaded archive and run the
.pkginstaller file. You may need to go to
System Preferences > Security & Privacyto allow running the installer.
- Finish installation of SIMBL.
git clone https://github.com/rinckd/afloat cd afloat xcodebuild GCC_ENABLE_OBJC_GC=unsupported -configuration Release cp -r build/Release/Afloat.bundle* /Library/Application Support/SIMBL/Plugins/
- Use an Applescript to start afloat automatically on start as described here.
- afloat will work for all the apps started after afloat has been injected.
- Install SIMBL