Disabling the New Window animation in OSX 10.7 Lion

Use the Terminal and a defaults write command:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool NO

You’ll have to relaunch any currently running apps to have the changes take effect.
If you want the new Lion window animation back, that’s easy too:

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool YES

Credits: OSXDaily.com