@@ -19,7 +19,7 @@ fn get_input_short_name(input: &str) -> String {
1919 }
2020}
2121
22- pub fn get_list_normal_mode_help_lines ( config : & Config ) -> [ ( String , & str ) ; 21 ] {
22+ pub fn get_list_normal_mode_help_lines ( config : & Config ) -> [ ( String , & str ) ; 22 ] {
2323 [
2424 ( get_input_short_name ( config. input_move_up . as_str ( ) ) , "Move selection up" ) ,
2525 (
@@ -50,6 +50,10 @@ pub fn get_list_normal_mode_help_lines(config: &Config) -> [(String, &str); 21]
5050 get_input_short_name ( config. input_force_rebase . as_str ( ) ) ,
5151 "Immediately write interactive rebase file" ,
5252 ) ,
53+ (
54+ get_input_short_name ( config. input_toggle_visual_mode . as_str ( ) ) ,
55+ "Enter visual mode" ,
56+ ) ,
5357 ( get_input_short_name ( config. input_help . as_str ( ) ) , "Show help" ) ,
5458 (
5559 get_input_short_name ( config. input_show_commit . as_str ( ) ) ,
@@ -102,7 +106,7 @@ pub fn get_list_normal_mode_help_lines(config: &Config) -> [(String, &str); 21]
102106 ]
103107}
104108
105- pub fn get_list_visual_mode_help_lines ( config : & Config ) -> [ ( String , & str ) ; 13 ] {
109+ pub fn get_list_visual_mode_help_lines ( config : & Config ) -> [ ( String , & str ) ; 14 ] {
106110 [
107111 ( get_input_short_name ( config. input_move_up . as_str ( ) ) , "Move selection up" ) ,
108112 (
@@ -150,6 +154,10 @@ pub fn get_list_visual_mode_help_lines(config: &Config) -> [(String, &str); 13]
150154 get_input_short_name ( config. input_action_drop . as_str ( ) ) ,
151155 "Set selected commits to be dropped" ,
152156 ) ,
157+ (
158+ get_input_short_name ( config. input_toggle_visual_mode . as_str ( ) ) ,
159+ "Exit visual mode" ,
160+ ) ,
153161 ]
154162}
155163
0 commit comments