This insert-mode map is fairly easy. It will save a lot of keystrokes for opening and closing braces when programming. It works best with cindent on (:set cindent) since vim will automatically indent to the right tabstop. I mapped it to insert-mode Ctrl-F.