Struct config::KeyBindings
source · [−]#[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
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
sourceimpl KeyBindings
impl KeyBindings
Trait Implementations
sourceimpl Clone for KeyBindings
impl Clone for KeyBindings
sourcefn clone(&self) -> KeyBindings
fn clone(&self) -> KeyBindings
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyBindings
impl Debug for KeyBindings
sourceimpl Default for KeyBindings
impl Default for KeyBindings
Auto Trait Implementations
impl RefUnwindSafe for KeyBindings
impl Send for KeyBindings
impl Sync for KeyBindings
impl Unpin for KeyBindings
impl UnwindSafe for KeyBindings
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more