Struct config::KeyBindings
source · #[non_exhaustive]pub struct KeyBindings {Show 46 fields
pub abort: Vec<String>,
pub action_break: Vec<String>,
pub action_drop: Vec<String>,
pub action_edit: Vec<String>,
pub action_fixup: Vec<String>,
pub action_pick: Vec<String>,
pub action_reword: Vec<String>,
pub action_squash: Vec<String>,
pub confirm_no: Vec<String>,
pub confirm_yes: Vec<String>,
pub edit: Vec<String>,
pub force_abort: Vec<String>,
pub force_rebase: Vec<String>,
pub help: Vec<String>,
pub insert_line: Vec<String>,
pub move_down: Vec<String>,
pub move_end: Vec<String>,
pub move_home: Vec<String>,
pub move_left: Vec<String>,
pub move_right: Vec<String>,
pub move_up: Vec<String>,
pub move_down_step: Vec<String>,
pub move_up_step: Vec<String>,
pub move_selection_down: Vec<String>,
pub move_selection_up: Vec<String>,
pub scroll_down: Vec<String>,
pub scroll_end: Vec<String>,
pub scroll_home: Vec<String>,
pub scroll_left: Vec<String>,
pub scroll_right: Vec<String>,
pub scroll_up: Vec<String>,
pub scroll_step_down: Vec<String>,
pub scroll_step_up: Vec<String>,
pub open_in_external_editor: Vec<String>,
pub rebase: Vec<String>,
pub redo: Vec<String>,
pub remove_line: Vec<String>,
pub search_start: Vec<String>,
pub search_next: Vec<String>,
pub search_previous: Vec<String>,
pub show_commit: Vec<String>,
pub show_diff: Vec<String>,
pub toggle_visual_mode: Vec<String>,
pub undo: Vec<String>,
pub fixup_keep_message_with_editor: Vec<String>,
pub fixup_keep_message: Vec<String>,
}
Expand description
Represents the key binding configuration options.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.abort: Vec<String>
Key bindings for aborting.
action_break: Vec<String>
Key bindings for the break action.
action_drop: Vec<String>
Key bindings for the drop action.
action_edit: Vec<String>
Key bindings for the edit action.
action_fixup: Vec<String>
Key bindings for the fixup action.
action_pick: Vec<String>
Key bindings for the pick action.
action_reword: Vec<String>
Key bindings for the reword action.
action_squash: Vec<String>
Key bindings for the squash action.
confirm_no: Vec<String>
Key bindings for negative confirmation.
confirm_yes: Vec<String>
Key bindings for positive confirmation.
edit: Vec<String>
Key bindings for editing.
force_abort: Vec<String>
Key bindings for forcing a abort.
force_rebase: Vec<String>
Key bindings for forcing a rebase.
help: Vec<String>
Key bindings for showing help.
insert_line: Vec<String>
Key bindings for inserting a line.
move_down: Vec<String>
Key bindings for moving down.
move_end: Vec<String>
Key bindings for moving to the end.
move_home: Vec<String>
Key bindings for moving to the start.
move_left: Vec<String>
Key bindings for moving to the left.
move_right: Vec<String>
Key bindings for moving to the right.
move_up: Vec<String>
Key bindings for moving up.
move_down_step: Vec<String>
Key bindings for moving down a step.
move_up_step: Vec<String>
Key bindings for moving up a step.
move_selection_down: Vec<String>
Key bindings for moving the selection down.
move_selection_up: Vec<String>
Key bindings for moving the selection up.
scroll_down: Vec<String>
Key bindings for scrolling down.
scroll_end: Vec<String>
Key bindings for scrolling to the end.
scroll_home: Vec<String>
Key bindings for scrolling to the start.
scroll_left: Vec<String>
Key bindings for scrolling to the left.
scroll_right: Vec<String>
Key bindings for scrolling to the right.
scroll_up: Vec<String>
Key bindings for scrolling up.
scroll_step_down: Vec<String>
Key bindings for scrolling down a step.
scroll_step_up: Vec<String>
Key bindings for scrolling up a step.
open_in_external_editor: Vec<String>
Key bindings for opening the external editor.
rebase: Vec<String>
Key bindings for rebasing.
redo: Vec<String>
Key bindings for redoing a change.
remove_line: Vec<String>
Key bindings for removing a line.
search_start: Vec<String>
Key bindings for starting search.
search_next: Vec<String>
Key bindings for next search match.
search_previous: Vec<String>
Key bindings for previous search match.
show_commit: Vec<String>
Key bindings for showing a commit.
show_diff: Vec<String>
Key bindings for showing a diff.
toggle_visual_mode: Vec<String>
Key bindings for toggling visual mode.
undo: Vec<String>
Key bindings for undoing a change.
fixup_keep_message_with_editor: Vec<String>
Key bindings for the fixup specific action to toggle the c option.
fixup_keep_message: Vec<String>
Key bindings for the fixup specific action to toggle the c option.
Implementations§
source§impl KeyBindings
impl KeyBindings
Trait Implementations§
source§impl Clone for KeyBindings
impl Clone for KeyBindings
source§fn clone(&self) -> KeyBindings
fn clone(&self) -> KeyBindings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more