Struct input::KeyBindings [−][src]
pub struct KeyBindings {Show fields
pub abort: Vec<Event>,
pub action_break: Vec<Event>,
pub action_drop: Vec<Event>,
pub action_edit: Vec<Event>,
pub action_fixup: Vec<Event>,
pub action_pick: Vec<Event>,
pub action_reword: Vec<Event>,
pub action_squash: Vec<Event>,
pub confirm_yes: Vec<Event>,
pub edit: Vec<Event>,
pub force_abort: Vec<Event>,
pub force_rebase: Vec<Event>,
pub help: Vec<Event>,
pub insert_line: Vec<Event>,
pub move_down: Vec<Event>,
pub move_down_step: Vec<Event>,
pub move_end: Vec<Event>,
pub move_home: Vec<Event>,
pub move_left: Vec<Event>,
pub move_right: Vec<Event>,
pub move_selection_down: Vec<Event>,
pub move_selection_up: Vec<Event>,
pub move_up: Vec<Event>,
pub move_up_step: Vec<Event>,
pub open_in_external_editor: Vec<Event>,
pub rebase: Vec<Event>,
pub redo: Vec<Event>,
pub remove_line: Vec<Event>,
pub show_commit: Vec<Event>,
pub show_diff: Vec<Event>,
pub toggle_visual_mode: Vec<Event>,
pub undo: Vec<Event>,
}Expand description
Represents a mapping between an input event and an action.
Fields
abort: Vec<Event>Key bindings for aborting.
action_break: Vec<Event>Key bindings for the break action.
action_drop: Vec<Event>Key bindings for the drop action.
action_edit: Vec<Event>Key bindings for the edit action.
action_fixup: Vec<Event>Key bindings for the fixup action.
action_pick: Vec<Event>Key bindings for the pick action.
action_reword: Vec<Event>Key bindings for the reword action.
action_squash: Vec<Event>Key bindings for the squash action.
confirm_yes: Vec<Event>Key bindings for positive confirmation.
edit: Vec<Event>Key bindings for editing.
force_abort: Vec<Event>Key bindings for forcing an abort.
force_rebase: Vec<Event>Key bindings for forcing a rebase.
help: Vec<Event>Key bindings for showing help.
insert_line: Vec<Event>Key bindings for inserting a line.
move_down: Vec<Event>Key bindings for moving down.
move_down_step: Vec<Event>Key bindings for moving down a step.
move_end: Vec<Event>Key bindings for moving to the end.
move_home: Vec<Event>Key bindings for moving to the start.
move_left: Vec<Event>Key bindings for moving to the left.
move_right: Vec<Event>Key bindings for moving to the right.
move_selection_down: Vec<Event>Key bindings for moving the selection down.
move_selection_up: Vec<Event>Key bindings for moving the selection up.
move_up: Vec<Event>Key bindings for moving up.
move_up_step: Vec<Event>Key bindings for moving up a step.
open_in_external_editor: Vec<Event>Key bindings for opening the external editor.
rebase: Vec<Event>Key bindings for rebasing.
redo: Vec<Event>Key bindings for redoing a change.
remove_line: Vec<Event>Key bindings for removing a line.
show_commit: Vec<Event>Key bindings for showing a commit.
show_diff: Vec<Event>Key bindings for showing a diff.
toggle_visual_mode: Vec<Event>Key bindings for toggling visual mode.
undo: Vec<Event>Key bindings for undoing a change.
Implementations
Create a new instance from the configuration keybindings.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for KeyBindingsimpl Send for KeyBindingsimpl Sync for KeyBindingsimpl Unpin for KeyBindingsimpl UnwindSafe for KeyBindings