Skip to content

Commit 7b94358

Browse files
authored
Fix vim default config (#549)
1 parent 0662200 commit 7b94358

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

assets/vim_style_key_config.ron

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@
2828
exit_popup: ( code: Esc, modifiers: ( bits: 0,),),
2929

3030
open_commit: ( code: Char('c'), modifiers: ( bits: 0,),),
31-
open_commit_editor: ( code: Char('E'), modifiers: ( bits: 1,),),
31+
32+
// Note: the shift modifier does not work for open_commit_editor
33+
open_commit_editor: ( code: Char('e'), modifiers: ( bits: 2,),),
3234
open_help: ( code: F(1), modifiers: ( bits: 0,),),
3335

3436
move_left: ( code: Char('h'), modifiers: ( bits: 0,),),

src/strings.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ pub mod commands {
545545
CommandText::new(
546546
format!(
547547
"Reset Item [{}]",
548-
key_config.get_hint(key_config.stash_drop),
548+
key_config.get_hint(key_config.status_reset_item),
549549
),
550550
"revert changes in selected file or entire path",
551551
CMD_GROUP_CHANGES,

0 commit comments

Comments
 (0)