Skip to content

Commit

Permalink
Fix vim default config (#549)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto authored Feb 25, 2021
1 parent 0662200 commit 7b94358
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion assets/vim_style_key_config.ron
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@
exit_popup: ( code: Esc, modifiers: ( bits: 0,),),

open_commit: ( code: Char('c'), modifiers: ( bits: 0,),),
open_commit_editor: ( code: Char('E'), modifiers: ( bits: 1,),),

// Note: the shift modifier does not work for open_commit_editor
open_commit_editor: ( code: Char('e'), modifiers: ( bits: 2,),),
open_help: ( code: F(1), modifiers: ( bits: 0,),),

move_left: ( code: Char('h'), modifiers: ( bits: 0,),),
Expand Down
2 changes: 1 addition & 1 deletion src/strings.rs
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,7 @@ pub mod commands {
CommandText::new(
format!(
"Reset Item [{}]",
key_config.get_hint(key_config.stash_drop),
key_config.get_hint(key_config.status_reset_item),
),
"revert changes in selected file or entire path",
CMD_GROUP_CHANGES,
Expand Down

0 comments on commit 7b94358

Please sign in to comment.