@@ -17,100 +17,100 @@ fn map_single_ascii_to_lower(s: &str) -> String {
17
17
#[ non_exhaustive]
18
18
pub ( crate ) struct KeyBindings {
19
19
/// Key bindings for aborting.
20
- pub ( crate ) abort : Vec < String > ,
20
+ pub abort : Vec < String > ,
21
21
/// Key bindings for the break action.
22
- pub ( crate ) action_break : Vec < String > ,
22
+ pub action_break : Vec < String > ,
23
23
/// Key bindings for the drop action.
24
- pub ( crate ) action_drop : Vec < String > ,
24
+ pub action_drop : Vec < String > ,
25
25
/// Key bindings for the edit action.
26
- pub ( crate ) action_edit : Vec < String > ,
26
+ pub action_edit : Vec < String > ,
27
27
/// Key bindings for the fixup action.
28
- pub ( crate ) action_fixup : Vec < String > ,
28
+ pub action_fixup : Vec < String > ,
29
29
/// Key bindings for the pick action.
30
- pub ( crate ) action_pick : Vec < String > ,
30
+ pub action_pick : Vec < String > ,
31
31
/// Key bindings for the reword action.
32
- pub ( crate ) action_reword : Vec < String > ,
32
+ pub action_reword : Vec < String > ,
33
33
/// Key bindings for the squash action.
34
- pub ( crate ) action_squash : Vec < String > ,
34
+ pub action_squash : Vec < String > ,
35
35
/// Key bindings for negative confirmation.
36
- pub ( crate ) confirm_no : Vec < String > ,
36
+ pub confirm_no : Vec < String > ,
37
37
/// Key bindings for positive confirmation.
38
- pub ( crate ) confirm_yes : Vec < String > ,
38
+ pub confirm_yes : Vec < String > ,
39
39
/// Key bindings for editing.
40
- pub ( crate ) edit : Vec < String > ,
40
+ pub edit : Vec < String > ,
41
41
/// Key bindings for forcing a abort.
42
- pub ( crate ) force_abort : Vec < String > ,
42
+ pub force_abort : Vec < String > ,
43
43
/// Key bindings for forcing a rebase.
44
- pub ( crate ) force_rebase : Vec < String > ,
44
+ pub force_rebase : Vec < String > ,
45
45
/// Key bindings for showing help.
46
- pub ( crate ) help : Vec < String > ,
46
+ pub help : Vec < String > ,
47
47
/// Key bindings for inserting a line.
48
- pub ( crate ) insert_line : Vec < String > ,
48
+ pub insert_line : Vec < String > ,
49
49
50
50
/// Key bindings for moving down.
51
- pub ( crate ) move_down : Vec < String > ,
51
+ pub move_down : Vec < String > ,
52
52
/// Key bindings for moving to the end.
53
- pub ( crate ) move_end : Vec < String > ,
53
+ pub move_end : Vec < String > ,
54
54
/// Key bindings for moving to the start.
55
- pub ( crate ) move_home : Vec < String > ,
55
+ pub move_home : Vec < String > ,
56
56
/// Key bindings for moving to the left.
57
- pub ( crate ) move_left : Vec < String > ,
57
+ pub move_left : Vec < String > ,
58
58
/// Key bindings for moving to the right.
59
- pub ( crate ) move_right : Vec < String > ,
59
+ pub move_right : Vec < String > ,
60
60
/// Key bindings for moving up.
61
- pub ( crate ) move_up : Vec < String > ,
61
+ pub move_up : Vec < String > ,
62
62
/// Key bindings for moving down a step.
63
- pub ( crate ) move_down_step : Vec < String > ,
63
+ pub move_down_step : Vec < String > ,
64
64
/// Key bindings for moving up a step.
65
- pub ( crate ) move_up_step : Vec < String > ,
65
+ pub move_up_step : Vec < String > ,
66
66
/// Key bindings for moving the selection down.
67
- pub ( crate ) move_selection_down : Vec < String > ,
67
+ pub move_selection_down : Vec < String > ,
68
68
/// Key bindings for moving the selection up.
69
- pub ( crate ) move_selection_up : Vec < String > ,
69
+ pub move_selection_up : Vec < String > ,
70
70
71
71
/// Key bindings for scrolling down.
72
- pub ( crate ) scroll_down : Vec < String > ,
72
+ pub scroll_down : Vec < String > ,
73
73
/// Key bindings for scrolling to the end.
74
- pub ( crate ) scroll_end : Vec < String > ,
74
+ pub scroll_end : Vec < String > ,
75
75
/// Key bindings for scrolling to the start.
76
- pub ( crate ) scroll_home : Vec < String > ,
76
+ pub scroll_home : Vec < String > ,
77
77
/// Key bindings for scrolling to the left.
78
- pub ( crate ) scroll_left : Vec < String > ,
78
+ pub scroll_left : Vec < String > ,
79
79
/// Key bindings for scrolling to the right.
80
- pub ( crate ) scroll_right : Vec < String > ,
80
+ pub scroll_right : Vec < String > ,
81
81
/// Key bindings for scrolling up.
82
- pub ( crate ) scroll_up : Vec < String > ,
82
+ pub scroll_up : Vec < String > ,
83
83
/// Key bindings for scrolling down a step.
84
- pub ( crate ) scroll_step_down : Vec < String > ,
84
+ pub scroll_step_down : Vec < String > ,
85
85
/// Key bindings for scrolling up a step.
86
- pub ( crate ) scroll_step_up : Vec < String > ,
86
+ pub scroll_step_up : Vec < String > ,
87
87
88
88
/// Key bindings for opening the external editor.
89
- pub ( crate ) open_in_external_editor : Vec < String > ,
89
+ pub open_in_external_editor : Vec < String > ,
90
90
/// Key bindings for rebasing.
91
- pub ( crate ) rebase : Vec < String > ,
91
+ pub rebase : Vec < String > ,
92
92
/// Key bindings for redoing a change.
93
- pub ( crate ) redo : Vec < String > ,
93
+ pub redo : Vec < String > ,
94
94
/// Key bindings for removing a line.
95
- pub ( crate ) remove_line : Vec < String > ,
95
+ pub remove_line : Vec < String > ,
96
96
/// Key bindings for starting search.
97
- pub ( crate ) search_start : Vec < String > ,
97
+ pub search_start : Vec < String > ,
98
98
/// Key bindings for next search match.
99
- pub ( crate ) search_next : Vec < String > ,
99
+ pub search_next : Vec < String > ,
100
100
/// Key bindings for previous search match.
101
- pub ( crate ) search_previous : Vec < String > ,
101
+ pub search_previous : Vec < String > ,
102
102
/// Key bindings for showing a commit.
103
- pub ( crate ) show_commit : Vec < String > ,
103
+ pub show_commit : Vec < String > ,
104
104
/// Key bindings for showing a diff.
105
- pub ( crate ) show_diff : Vec < String > ,
105
+ pub show_diff : Vec < String > ,
106
106
/// Key bindings for toggling visual mode.
107
- pub ( crate ) toggle_visual_mode : Vec < String > ,
107
+ pub toggle_visual_mode : Vec < String > ,
108
108
/// Key bindings for undoing a change.
109
- pub ( crate ) undo : Vec < String > ,
109
+ pub undo : Vec < String > ,
110
110
/// Key bindings for the fixup specific action to toggle the c option.
111
- pub ( crate ) fixup_keep_message_with_editor : Vec < String > ,
111
+ pub fixup_keep_message_with_editor : Vec < String > ,
112
112
/// Key bindings for the fixup specific action to toggle the c option.
113
- pub ( crate ) fixup_keep_message : Vec < String > ,
113
+ pub fixup_keep_message : Vec < String > ,
114
114
}
115
115
116
116
impl KeyBindings {
0 commit comments