I have one of these and it's great for tight areas and nailing of joist hangers etc.
Amazon.com: Grip-Rite GRTMP16 Mini Palm Nailer: Home Improvement