Clueless designer admission:
When git kicks me into Vim I have *absolutely no fucking clue why it has happened nor how to get out of it* 😩
Discussion
Clueless designer admission:
When git kicks me into Vim I have *absolutely no fucking clue why it has happened nor how to get out of it* 😩
…Waits for replies beginning with “just…” or “simply…” or “it’s easy…”
@urlyman first off, in your appropriate rc or profile file, set EDITOR=/path/to/the/editor/you/want/to/use...
(Game changer for me, even though I'm pretty facile in vi, it's so nice to have the familiar.)
@danlyke thanks Dan, that sounds helpful.
So what kind of 'editor' are we talking about here? What kind of options are there and why would I choose one over another?
I presume we are not talking about a text 'editor' of the kind I use to write front-end code?
@urlyman exactly the sort of text editor you'd use to write front-end code. I have mine set to emacs, but you can pop up a GUI editor as long as it takes as a parameter the file name to edit.
git creates a template file for you to annotate your checkin, and fires up the editor with it. You make your changes, quit the editor (eg: <esc>:wq<enter> in vi), and git continues the commit.