Fix vim default config (#549)

This commit is contained in:
Antonio Yang 2021-02-25 21:59:45 +08:00 committed by GitHub
parent 06622008da
commit 7b94358d11
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 2 deletions

View File

@ -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,),),

View File

@ -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,