jesseduffield / jesseduffield/lazygit

Feature: Allow selecting default file on open

Open
#3,616 4 comments 1 reaction 0 assignees View on GitHub
enhancement
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**Is your feature request related to a problem? Please describe.**
I regularly use lazygit in neovim. Most of the times, I want to see the status of currently opened file, but opening lazygit highlights the first modified file by default. It doesn't even support vim motions, hence it always becomes frustrating to go to desired fle.

**Describe the solution you'd like**
Using CLI interface, allow providing a default file selection.
This is the minimum requirement, however I would like the cli interface to grow and cover more options.

**Describe alternatives you've considered**
No alternative.

**Additional context**
Not possible using custom commands.

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.