/// Create a new instance from the configuration keybindings.
Create a new instance from the configuration keybindings.
Create a new instance from the configuration keybindings .
fn new(key_bindings: &KeyBindings) -> Self {
		Self {
			abort: map_keybindings(&key_bindings.abort),
			action_break: map_keybindings(&key_bindings.action_break),
			action_drop: map_keybindings(&key_bindings.action_drop),
			action_edit: map_keybindings(&key_bindings.action_edit),
			action_fixup: map_keybindings(&key_bindings.action_fixup),
			action_pick: map_keybindings(&key_bindings.action_pick),
			action_reword: map_keybindings(&key_bindings.action_reword),
			action_squash: map_keybindings(&key_bindings.action_squash),
			edit: map_keybindings(&key_bindings.edit),
			force_abort: map_keybindings(&key_bindings.force_abort),
			force_rebase: map_keybindings(&key_bindings.force_rebase),
			help: map_keybindings(&key_bindings.help),
			insert_line: map_keybindings(&key_bindings.insert_line),
			move_down: map_keybindings(&key_bindings.move_down),
			move_down_step: map_keybindings(&key_bindings.move_down_step),
			move_end: map_keybindings(&key_bindings.move_end),
			move_home: map_keybindings(&key_bindings.move_home),
			move_left: map_keybindings(&key_bindings.move_left),
			move_right: map_keybindings(&key_bindings.move_right),
			move_selection_down: map_keybindings(&key_bindings.move_selection_down),
			move_selection_up: map_keybindings(&key_bindings.move_selection_up),
			move_up: map_keybindings(&key_bindings.move_up),
			move_up_step: map_keybindings(&key_bindings.move_up_step),
			open_in_external_editor: map_keybindings(&key_bindings.open_in_external_editor),
			rebase: map_keybindings(&key_bindings.rebase),
			remove_line: map_keybindings(&key_bindings.remove_line),
			show_commit: map_keybindings(&key_bindings.show_commit),
			show_diff: map_keybindings(&key_bindings.show_diff),
			toggle_visual_mode: map_keybindings(&key_bindings.toggle_visual_mode),
			confirm_yes: map_keybindings(&key_bindings.confirm_yes),
		}
	}
fn new ( key_bindings : & KeyBindings ) -> Self { Self { abort : map_keybindings ( & key_bindings . abort ) , action_break : map_keybindings ( & key_bindings . action_break ) , action_drop : map_keybindings ( & key_bindings . action_drop ) , action_edit : map_keybindings ( & key_bindings . action_edit ) , action_fixup : map_keybindings ( & key_bindings . action_fixup ) , action_pick : map_keybindings ( & key_bindings . action_pick ) , action_reword : map_keybindings ( & key_bindings . action_reword ) , action_squash : map_keybindings ( & key_bindings . action_squash ) , edit : map_keybindings ( & key_bindings . edit ) , force_abort : map_keybindings ( & key_bindings . force_abort ) , force_rebase : map_keybindings ( & key_bindings . force_rebase ) , help : map_keybindings ( & key_bindings . help ) , insert_line : map_keybindings ( & key_bindings . insert_line ) , move_down : map_keybindings ( & key_bindings . move_down ) , move_down_step : map_keybindings ( & key_bindings . move_down_step ) , move_end : map_keybindings ( & key_bindings . move_end ) , move_home : map_keybindings ( & key_bindings . move_home ) , move_left : map_keybindings ( & key_bindings . move_left ) , move_right : map_keybindings ( & key_bindings . move_right ) , move_selection_down : map_keybindings ( & key_bindings . move_selection_down ) , move_selection_up : map_keybindings ( & key_bindings . move_selection_up ) , move_up : map_keybindings ( & key_bindings . move_up ) , move_up_step : map_keybindings ( & key_bindings . move_up_step ) , open_in_external_editor : map_keybindings ( & key_bindings . open_in_external_editor ) , rebase : map_keybindings ( & key_bindings . rebase ) , remove_line : map_keybindings ( & key_bindings . remove_line ) , show_commit : map_keybindings ( & key_bindings . show_commit ) , show_diff : map_keybindings ( & key_bindings . show_diff ) , toggle_visual_mode : map_keybindings ( & key_bindings . toggle_visual_mode ) , confirm_yes : map_keybindings ( & key_bindings . confirm_yes ) , } }
Create a new instance from the configuration keybindings.
Create a new instance from the configuration keybindings .
key_bindings
&KeyBindings