* * Default config file for QEdit 2.x. * Specify control-key commands via: ^f1 - This means control f1 * Specify alt-key commands via: @f1 - This means alt f1 * Specify shift-key commands via: #f1 - This means shift f1 * * There is also a provision for "multiple (two at most in the current * implementation) key commands". * For example, to make the control f1 control f2 sequence issue the * exit command, try the following: ^f1_^f2 exit * The key here is that the commands must be separated by a '_'. * * Multiple commands and/or text may be entered for a single key. To do so, * specify "macro_begin" as the first command. To enter text, enclose the * text in single or double quote marks. * For example: * f1 macro_begin edit_file 'help.dat' return * This command would load the file 'help.dat'. Note the return command is * issued after the text. This is required to terminate the QEdit prompt. * * Following is a macro that will run make and load the results into a window. * * macro_begin edit_file 'errors.lst' return quit dos 'make >errors.lst' return return horizontal_window edit_file 'errors.lst' return * * Following macro will run Turbo C on the current file * * MacroBegin GSave Dos 'tcc -y -M ' CurrentFilename Return * * Finally, you can also use the scancode to represent "special keys", as * long as this key returns a ascii character code of 0. * For example alt f9 returns an ascii character of 0 and a scan code of * 112 decimal. To make alt f9 issue the edit_file command, you could: * * 112 edit_file * or * @f9 edit_file * * This becomes especially useful if you have a macro processor and/or * special keyboard that has extended keys that QEdit doesn't have names * for. This gives you a method to use them. * * Either will work. * * Note that the order of this file is NOT important. Arrange it however * makes sense to you. * * * function key set * f1 quick_help f2 add_line f3 GPQuit f4 dup_line f5 maketopofscreen f6 del_to_eol f7 mark_block_begin f8 mark_block_end f9 shell f10 * enhanced keyboard only f11 f12 * #f1 toggleBoxDraw #f2 #f3 Sort #f4 #f5 makectrofscreen #f6 #f7 shiftleft #f8 shiftright #f9 #f10 * enhanced keyboard only #f11 #f12 ^f1 toggleEGA43 ^f2 ^f3 ^f4 ^f5 ^f6 ^f7 ^f8 ^f9 ^f10 * enhanced keyboard only ^f11 ^f12 @f1 ToggleBoxType @f2 insert_line @f3 match @f4 @f5 screen_left @f6 screen_right @f7 @f8 @f9 dos @f10 show_entry_screen * enhanced keyboard only @f11 @f12 * * special keys * cursorup cursor_up cursordown cursor_down cursorleft cursor_left cursorright cursor_right ^cursorleft word_left ^cursorright word_right home beg_line end end_line ^home beg_screen ^end end_screen pgup page_up pgdn page_down ^pgdn end_file ^pgup beg_file #tab tab_lt tab tab_rt ins toggle_insert del del_ch backspace backspace ^backspace del_lt_word enter return ^enter ExecuteScrap escape escape grey* paste grey+ copy grey- cut #del #ins ` ~ / ^prtsc pasteover ^2 ^6 ^[ ^\ ^] MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return ^- get_prev * * alternate keys * @a drop_anchor @b wrap_para @c copy_block @d del_line @e edit_file @f macro_begin main_menu 'f' @g delete_block @h quick_help @i ToggleTabsOut @j join_line @k mark_column @l mark_line @m move_block @n next_file @o change_filename @p macro_begin main_menu 'p' @q macro_begin main_menu 'q' @r read_block @s split_line @t @u unmark_block @v toggletabsexpand @w writeblock @x g_exit @y gsave @z copy_over_block @1 Upper @2 Lower @3 Flip @4 @5 @6 @7 @8 @9 @0 @- @= MacroBegin MarkWord Copy Find Paste Return Return * * control keys * ^a word_left ^b_a append_scrbuff ^b_l get_scrbuff ^b_s storescrbuff ^c page_down ^d cursor_right ^e cursor_up ^f word_right ^g del_ch ^h backspace ^i tabrt ^j goto_line ^k_b mark_block_begin ^k_c copy_block ^k_d exit ^k_e edit_file ^k_f change_filename ^k_h unmark_block ^k_k mark_block_end ^k_n next_file ^k_p prev_file ^k_q pquit ^k_r read_block ^k_s save_file ^k_t MarkWord ^k_v move_block ^k_w writeblock ^k_x file ^k_y delete_block ^k_z kill_file ^l repeat_find ^m macro_record ^n split_line ^o_c close_window ^o_l set_print_left_margin ^o_n next_window ^o_o one_window ^o_p prev_window ^o_g grow_window ^o_r set_rmargin ^o_s shrink_window ^o_h horizontal_window ^o_w toggle_wordwrap ^o_z zoom_window ^p literal ^q_a find_replace ^q_b goto_block_beg ^q_c end_file ^q_d end_line ^q_e beg_screen ^q_f find ^q_i toggle_indent ^q_k goto_block_end ^q_l undo_cursorline ^q_p prev_position ^q_r beg_file ^q_s beg_line ^q_t toggle_smart_tabs ^q_x end_screen ^q_y del_to_eol ^r page_up ^s cursor_left ^t del_rt_word ^u unkill ^v toggle_insert ^w scroll_up ^x cursor_down ^y del_line ^z scroll_down * * other enhanced only keys * @' @, @. @/ @; @[ @\ @] @` @backspace @enter @escape @grey* @grey+ @grey- @grey/ @greycursordown @greycursorleft @greycursorright @greycursorup @greydel @greyend @greyhome @greyins @greypgdn @greypgup @greyenter @tab greyenter return ^greyenter ExecuteScrap ^centercursor ^cursordown linedown ^cursorup lineup ^del ^grey* ^grey+ ^grey- ^grey/ ^ins ^tab centercursor