decided to put down tips and tricks and usage notes for os x on the mac.
to have focus following the mouse (i.e. without clicking) on the defaul terminal that comes with osx, type in a terminal the following command:
defaults write com.apple.Terminal FocusFollowsMouse -string YES
then close the terminal and quit. restart again and you can switch between multiple terminals just by moving the mouse on top of them; even when the terminal isn’t the application in focus. very useful when coding.
to turn it off, the command is:
defaults write com.apple.Terminal FocusFollowsMouse -string NO
to delete the entry completely:
defaults delete com.apple.Terminal FocusFollowsMouse