#[non_exhaustive]
pub struct KeyBindings {
Show 41 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 show_commit: Vec<String>, pub show_diff: Vec<String>, pub toggle_visual_mode: Vec<String>, pub undo: Vec<String>,
}
Expand description

Represents the key binding configuration options.

Fields (Non-exhaustive)

This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional 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.

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.

Implementations

Create a new configuration with default values.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

The type returned in the event of a conversion error.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.