Search code examples
gitgithubgit-commit

Git commit message not taking to the next step


I use vim (basic functions to write code..) but this keeps returning different performance when I use those shortcuts I'm familiar with. This hasn't happened once either.. embarrassed to encounter these issues and not know how to resolve; but Id really like to understand first. enter image description here


Solution

  • Check first your git config core.editor value.

    If it is not vim (but instead emacs or nano or ...), that would explain the strange Lisp error message you see.
    That looks like an error message you would see with Magit for instance.

    git config --global core.editor "vim" should be enough for you to try again, with the vim editor.