@@ -107,10 +107,12 @@ def loadini(struct, configfile):
107107 'exit' : '' ,
108108 'external_editor' : 'F7' ,
109109 'help' : 'F1' ,
110+ 'incremental_search' : 'M-s' ,
110111 'last_output' : 'F9' ,
111112 'left' : 'C-b' ,
112113 'pastebin' : 'F8' ,
113114 'reimport' : 'F6' ,
115+ 'reverse_incremental_search' : 'M-r' ,
114116 'right' : 'C-f' ,
115117 'save' : 'C-s' ,
116118 'search' : 'C-o' ,
@@ -185,6 +187,9 @@ def get_key_no_doublebind(command):
185187 struct .toggle_file_watch_key = get_key_no_doublebind ('toggle_file_watch' )
186188 struct .undo_key = get_key_no_doublebind ('undo' )
187189 struct .reimport_key = get_key_no_doublebind ('reimport' )
190+ struct .reverse_incremental_search_key = get_key_no_doublebind (
191+ 'reverse_incremental_search' )
192+ struct .incremental_search_key = get_key_no_doublebind ('incremental_search' )
188193 struct .up_one_line_key = get_key_no_doublebind ('up_one_line' )
189194 struct .down_one_line_key = get_key_no_doublebind ('down_one_line' )
190195 struct .cut_to_buffer_key = get_key_no_doublebind ('cut_to_buffer' )
@@ -200,8 +205,6 @@ def get_key_no_doublebind(command):
200205 struct .end_of_line_key = get_key_no_doublebind ('end_of_line' )
201206 struct .beginning_of_line_key = get_key_no_doublebind ('beginning_of_line' )
202207 struct .transpose_chars_key = get_key_no_doublebind ('transpose_chars' )
203- struct .clear_line_key = get_key_no_doublebind ('clear_line' )
204- struct .clear_screen_key = get_key_no_doublebind ('clear_screen' )
205208 struct .exit_key = get_key_no_doublebind ('exit' )
206209 struct .last_output_key = get_key_no_doublebind ('last_output' )
207210 struct .edit_config_key = get_key_no_doublebind ('edit_config' )
@@ -266,10 +269,6 @@ def get_key_no_doublebind(command):
266269 (color_scheme_name , ))
267270 sys .exit (1 )
268271
269- # checks for valid key configuration this part still sucks
270- for key in (struct .pastebin_key , struct .save_key ):
271- key_dispatch [key ]
272-
273272 # expand path of history file
274273 struct .hist_file = os .path .expanduser (struct .hist_file )
275274
0 commit comments