Is it possible to set a keyboard shortcut (or maybe add some menu item somewhere) to open currently edited file in external editor?
(Obviously I may do [ (right click in file tree → Show in Finder) / (right click in window title → select containing directory) ] → right click on file → Open With → “the app” — but it’s too much steps.)
Huh, I’ve found it.
Paste this code (replace MacVim with your editor)
Save workflow.
I’ve borrowed AppleScript code from this project: Uncrustify Automator Services for Xcode 4.