---
title: "Discussion on \"git commit opened editor lost typing\" | Hashnode"
description: "Discussion on \"git commit opened editor lost typing\". Setup my new laptop, when I run git commit, vi will pop up, but when I typing the commit messages, letters constantly get lost.\nTo solve it, just change the default editor to vim:\n$ git config --global core.editor /usr/bin/vim"
url: "https://hashnode.com/posts/git-commit-opened-editor-lost-typing/60b066bf5c02001765cf4f88"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [git commit opened editor lost typing](https://hn.0xbf.me/git-commit-opened-editor-lost-typing?utm_source=hashnode&utm_medium=feed)

Setup my new laptop, when I run git commit, vi will pop up, but when I typing the commit messages, letters constantly get lost. To solve it, just change the default editor to vim: $ git config --global core.editor /usr/bin/vim

May 28, 2021 · 1 min read · hn.0xbf.me  
Read the article

-   [#git](https://hashnode.com/tag/git)

## Written by

[0xBF](https://hashnode.com/@0xbf)

@0xbf

  
[View profile](https://hashnode.com/@0xbf)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
