I'm learning to program. While following this mission, I typed git commit, which opened up vim. I don't know or want to know vim (no offense to vim lovers). I'd like to have:
- terminal open gedit ever time it try to do text editing from the terminal; and
- gedit release the terminal for further use.
How do I do that?
Ok. I'm close, but I must be missing something.
Because I wasn't root, I had to save it to my desktop. Then I had to move it to /etc, so, terminal handled that.
sudo mv paths /etc
Then I changed the editor.
git config --global core.editor "gedit"
error: cannot run gedit: No such file or directory error: There was a problem with the editor 'gedit'. Please supply the message using either -m or -F option.
UPDATED 2: Relaunching terminal fixed the problem.