Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix vim default config #549

Merged
merged 2 commits into from
Feb 25, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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