This repository was archived by the owner on Dec 15, 2022. It is now read-only.

Description
Prerequisites
Description
@as-cii kindly pointed out that with the new in-editor diff view our key-bindings for staging/unstaging are inconsistent between the diff view and the staging view.
Previously enter staged/unstaged changes in the diff view. Since we converted this view to use an editor and we hope to implement editable diffs, we'll want enter to have its default behavior of entering new lines.
#1512 re-mapped the commands for staging/unstaging changes in the diff view to cmd-enter. In the git panel we are still using enter to stage/unstage files.
Other relevant keybindings include
o to open file and jump to line
delete to discard line
- any others?
We want consistency across our UI, so here's what I propose: