DEV Community

[Comment from a deleted post]
Collapse
 
sebring profile image
J. G. Sebring

how to exit vim

Oh been there, so annoyed every time. For me it was the default editor of git bash, so if you rebased you ended up in vim. For anyone else being there now, set your default editor in git bash now,

$ git config --global core.editor code
Enter fullscreen mode Exit fullscreen mode

code here refers to vs code, so replace with your editor of choice