It there a way to make files opened for editing in the terminal open in Textedit instead? I mean, where a command might open a file for editing (like git commit), instead of opening that file in vi or emacs, it would open in Textedit (or perhaps another Textediting application of you choosing, such as Coda).
And as a bonus question, is there anyway to configure git to automatically open the file made after running git commit in an editor in the applications directory.