How to set cursor as my default git editor?

I want to set Cursor as my default code editor for git. But in the official docs of github, only Vscode and Sublime Text config is provided. What can I do now?

Hey! Not an official answer, but I managed to accomplish that by setting the following configuration

git config --global core.editor "/home/user/path_to_appimage/Cursor.AppImage --wait"

I’m running an Ubuntu based distro

1 Like

how about osx ?

Try this:

git config --global core.editor "cursor --wait"

1 Like

thx, what I’v found needs to be done before, to have cursor command available, is to add it with Cmd+Shit+P in cursor

Screenshot 2024-10-10 at 12.13.40

1 Like