How can I use command+tab to switch between windows of the same app in addition to all the other apps? [duplicate]

Solution 1:

What you are trying to achieve is not provided by OS X and I don't know if a third-party application would be able to interfere this deeply in the window management.

You have two options:

  1. ( +) + to switch between apps
  2. ( +) +` to switch between windows of one app in one desktop

Option two is configurable in System Preferences → Keyboard → Keyboard & Text Input → Move focus to next Window.

You can still achieve something similar to what you have in Ubuntu by using Mission Control and not choosing the option Group windows by applications in:
System Preferences → Mission Control → Group windows by applications

Then define a gesture to use initiate Mission Control for all individual Windows in:
System Preferences → Trackpad → More Gestures → Mission Control

Note that there is also an option for App Exposé which is like Mission Control for just one application.