jesseduffield / jesseduffield/lazygit

Ctrl+J/K are so easy to press inadvertently

Open
#5,810 3 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
Please consider binding moveDownCommit and moveUpCommit to something less easy to type inadvertently. Ctrl+J / Ctrl+ K are so easy to press for vim users from muscle memory and it is hard to undo if not noticed early on.

### Your thoughts
You can chose a different default binding that is harder to press and is not used for a different purpose in general. Another option is to add a confirmation prompt.

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by locating the default bindings and key-handling entry points for moveDownCommit and moveUpCommit, then review how similar confirmations are implemented. Done means the chosen safer binding or confirmation behavior is implemented and the affected interaction is covered by the relevant tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.