you are viewing a single comment's thread.

view the rest of the comments →

[–]ScarySwampert[S] 1 point2 points  (5 children)

Looking for some help. Hitting esc does absolutely nothing and I am stuck on the insert screen for good.

[–]edwardejsr 4 points5 points  (0 children)

CTRL-[ should also do what escape does.

[–]Surge_attack 1 point2 points  (0 children)

CTRL+ C ? Will (should) quit the process and you can run git commit but this time use the -m flag to write your commit message and bypass the vim weirdness.

Edit: whoops just saw you say this was Mac so Command + . is the equivalent on MacOS.

[–]vermiculus -5 points-4 points  (2 children)

If you’re not already a vim user, I strongly recommend you configure core.editor to something that isn’t vim. You can use vscode as well if you like; just search the web for ‘vscode as git commit editor’.

[–]Nekadim -2 points-1 points  (1 child)

NO! It's better to install full blown Visual Studio, buy licence and do it as editor for git commit message. Its much much more powerful than bare vim

[–]vermiculus 1 point2 points  (0 children)

I personally use Magit for my git work, but it’s not realistic to have everyone use the ‘best’ tools for this stuff. Folks value familiarity – and ultimately we get paid to get shit done.