A small and simple tui editor to create and edit commit messages fast.
Set core.editor to cme in your Git configuration:
git config --global core.editor "cme"For jujutsu, set ui.editor to cme in your configuration:
jj config set --user ui.editor "cme"Configuration is done via command-line arguments. Notably, there is:
cme --fullscreen: Opens the editor in fullscreen mode.cme --title <title>: Adds a title bar to the editor with the text<title>.cme --height <lines>: Sets the editor height to<lines>lines.
Run cme --help to see all the available options.
In the example above, cme --title "Enter commit description" --fullscreen is used.
This repo has a nix flake that can be used to install cme.
nix profile add github:guibi1/cme