Skip to content

Commit 02776a3

Browse files
committed
Change recommended vim keybinding for "reset file"
1 parent d68f366 commit 02776a3

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## Unreleased
99

10+
### Changed
11+
* change recommended `vim`-style key-binding for "reset file changes" to avoid conflict with "undo last commit" [[@callpraths](https://github.com/callpraths)] [[2853](https://github.com/gitui-org/gitui/pull/2853)]
12+
1013
## [0.28.0] - 2025-12-14
1114

1215
**discard changes on checkout**

vim_style_key_config.ron

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
move_right: Some(( code: Char('l'), modifiers: "")),
1515
move_up: Some(( code: Char('k'), modifiers: "")),
1616
move_down: Some(( code: Char('j'), modifiers: "")),
17-
17+
1818
popup_up: Some(( code: Char('p'), modifiers: "CONTROL")),
1919
popup_down: Some(( code: Char('n'), modifiers: "CONTROL")),
2020
page_up: Some(( code: Char('b'), modifiers: "CONTROL")),
@@ -26,7 +26,7 @@
2626

2727
edit_file: Some(( code: Char('I'), modifiers: "SHIFT")),
2828

29-
status_reset_item: Some(( code: Char('U'), modifiers: "SHIFT")),
29+
status_reset_item: Some(( code: Char('u'), modifiers: "")),
3030

3131
diff_reset_lines: Some(( code: Char('u'), modifiers: "")),
3232
diff_stage_lines: Some(( code: Char('s'), modifiers: "")),

0 commit comments

Comments
 (0)