A tiny graphical text editor for use from the command line.
I recommend using the awesome utility Mint to install cedar.
mint install danielctull-apps/cedar
cedar can only be run from the command line and it takes just one argument, the file you wish to open.
cedar <file>
cedar is designed to open really fast so is perfect for using as a git editor. If you wish to use cedar as your editor of choice when running those beloved commands git commit
or git rebase -i
, perform the following command and it will be set in your global git configuration file.
git config --global core.editor cedar
There's code in this little app that takes heavy inspiration from the following. Thank you so much. 🧡
- Chris Eidhof for his boilerplate.swift gist which shows all the configuration needed to get a macOS app running from the command line.
- Matt Gallagher for his blog post Minimalist Cocoa programming which was useful background information to Chris' boilerplate gist.