Komet

by zorgiepoo

zorgiepoo /Komet

Cocoa editor for creating commit messages

130 Stars 4 Forks Last release: about 1 year ago (0.9.1) MIT License 219 Commits 11 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

Komet

A Cocoa text editor designed for creating commit messages.

Image of Komet

Download Komet

Purpose

A commit editor shouldn't be stuck in an obstructive save-and-close model. Applying and discarding a commit should be convenient, and you shouldn't think twice about it. The editor should also automate actions that make writing good messages possible.

After transitioning to Komet, I put less effort in creating higher quality messages and my margin of error has decreased.

Features

  • Single action for applying or discarding a commit (
    ⌘ ↩
    >
    :wq
    )
  • Double newline insertion after the first line.
  • Cocoa's spell checking and automatic correction.
  • Text highlight warning if line becomes too long for subject and/or body.
  • Specialized text selection and font handling for message and comment sections.
  • Intelligent discarding of commits (i.e,
    exit(1)
    only if commit file has pre-existing content).
  • Ideal caret position on launch after the initial content.
  • Support for committing using the Touch Bar.
  • Resume off from canceled commit messages.

Themes

Image of Komet

Requirements

System Version: macOS 10.10 or later

Version Control: git, hg, svn

For optimal behavior, Komet depends on being able to distinguish the commit message content and the comment section at the end of the file. Thus, Komet has a small bit of code for handling each of its supported version control systems.

Contributing

If you enjoy using Komet and feel like something could improve, feel free to make a contribution. It is advisable to create an issue first before submitting a big change. Please also read and follow the code of conduct in the repository first before contributing.

Komet can now be translated to other languages. If you want to translate Komet, duplicate

Komet.app/Contents/Resources/en.lproj/
and rename
en
to the desired language locale code. Then using a text editor intended for coding (not TextEdit), alter the string values in the
.strings
files. Keep a separate copy of the new language folder outside of the app in case Komet may get auto-updated (or preferably work with the Xcode project instead). Finally, test the translation by changing your system language in System Preferences.

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.