A tiny graphical text editor for use from the command line.
Installation
I recommend using the awesome utility Mint to install cedar.
mint install danielctull-apps/cedar
Usage
cedar can only be run from the command line and it takes just one argument, the file you wish to open.
cedar <file>
Using as git editor
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
Thanks
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.
cedar
A tiny graphical text editor for use from the command line.
Installation
I recommend using the awesome utility Mint to install cedar.
Usage
cedar can only be run from the command line and it takes just one argument, the file you wish to open.
Using as git editor
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
orgit rebase -i
, perform the following command and it will be set in your global git configuration file.Thanks
There’s code in this little app that takes heavy inspiration from the following. Thank you so much. 🧡