Panic’s Nova text editor is closer to an integrated development environment (IDE), in the vein of Xcode, than The Sublime Text 3 text editor. In addition to editing text, it can interact with the Git version control system, display errors found in source files, preview websites, and define custom build systems. While Sublime Text 3 can do those things, they’re not features as custom UI, outside of a text output pane, like Nova. It feels like the spiritual successor to Panic’s earlier text editor, Coda, but with a more modern workflow for building software and managing open files and window panes.
- With a Git difftool set to a graphical program like Kaleidoscope, add a build task to display the diff of the currently-open file. In the build task configuration, make sure the provided argument is the currently-open file by selecting it from the blue asterisk icon to the right of the argument entry text field. The resulting script is simply:
#!/bin/sh git difftool -- "$1"