jesseduffield / jesseduffield/lazygit

Using lazygit as GIT_EDITOR

Open
#3,218 0 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Topic**
I would like to use `lazygit` as my `GIT_EDITOR` (`core.editor`)

E.g. I'd like to replace:

```
export GIT_EDITOR="vim +startinsert"
```

with `lazygit`. Possible?

**Your thoughts**
Ideally, you'd want `lazygit` to open with the commit panel open already, so you could just type and hit enter.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.