* Quick-Edit(4.0) Customized Configuration File 11/24/1994+06/26/1998 * --------------------------------------------------------------------------- * Keys MUST start in column 1. * Lines starting with "*" (like this one) are ignored. * To use enhanced keyboard keys (F11, F12, ^CursorUp/Down, etc.) the * "test for presence of enhanced keyboard" option MUST be turned ON * by running QCONFIG. * Specify Shift+Key commands via: #F1 - This means [Shift]+[F1] * Specify Control+Key commands via: ^F1 - This means [Ctrl]+[F1] * Specify Alt+Key commands via: @F1 - This means [Alt]+[F1] * There is also a provision for "Two 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 keys must be separated by a "_". * Multiple commands and/or text may be assigned to a key (or a twokey). * To do so, simply place multiple commands after the key. If the commands * are to be continued on more than one line, then each suceeding line * must start in column 2 or greater. For example: * F1 EditFile "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: * F1 EditFile "ERRORS.LST" Return * Quit DOS "MAKE > ERRORS.LST" Return Return * HorizontalWindow EditFile "ERRORS.LST" Return * Following macro will run Turbo C on the current file: * F1 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 EditFile command, you could: * 112 EditFile * or * @F9 EditFile * Either will work. 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. * Note that the order of this file is NOT important. * Arrange it however makes sense to you. * Function Keys -------------------------------------------------------------- F1 ListFiles F2 AddLine F3 DupLine F4 DelLine F5 DelToEOL F6 UnmarkBlock F7 MarkColumn F8 MarkLine F9 CopyBlock F10 CopyOverBlock F11 MoveBlock F12 DeleteBlock #F1 QuickHelp #F2 InsertLine #F3 UndoCursorline #F4 MainMenu "E" "U" #F5 Sort #F6 MarkWord #F7 ShiftLeft #F8 ShiftRight #F9 DelToEOL InsertDate #F10 SpellCheck #F11 FillBlock * Blank Marked Block #F12 FillBlock " " Return UnmarkBlock ^F1 ToggleBoxDraw ^F2 GPQuit ^F3 MainMenu "F" "F" ^F4 MainMenu "F" "Q" ^F5 Find ^F6 FindReplace ^F7 ScreenRight ^F8 ScreenLeft ^F9 MakeCtrOfScreen ^F10 PrevPosition ^F11 GotoBlockBeg ^F12 GotoBlockEnd @F1 ToggleBoxType @F2 ASCIIChart * Open File with Name at Cursor Position @F3 AltWordSet MarkWord JFalse DONE Copy EditFile Paste Return DONE: DefaultWordSet * Open All Files Listed in Current Window @F4 SetScreenOff EndFile REPEAT: UnMarkBlock MarkLine Copy EditFile CurrentFilename " " Paste Return CursorUp JTrue REPEAT Quit NextFile @F5 RepeatFind * Insert Positional Ruler (for 100 Positions) after Current Line @F6 AddLine BegLine "----+----1----+----2----+----3----+----4----+----5----+----6----+----7----+----8----+----9----+----" BegLine @F7 HalfPgUp @F8 HalfPgDn @F9 GSave DOS "4PR " CurrentFileName Return Return @F10 GSave DOS "4PRH " CurrentFileName Return Return @F11 GSave DOS "4PRH " CurrentFileName " 1 D" Return Return @F12 Shell * Shell to DOS (enter EXIT to return to QEdit) * Special Keys --------------------------------------------------------------- CursorUp CursorUp CursorDown CursorDown CursorLeft CursorLeft CursorRight CursorRight ^CursorLeft WordLeft ^CursorRight WordRight Home BegLine JTrue DONE FirstNonWhite DONE: End EndLine ^Home BegScreen ^End EndScreen PgUp PageUp PgDn PageDown ^PgUp BegFile ^PgDn EndFile Tab TabRt #Tab TabLt Ins ToggleInsert Del DelCh BackSpace Backspace ^BackSpace DelLtWord Enter Return ^Enter ExecuteScrap Escape Escape Grey- GotoBlockBeg MacroQuitFalse Cut Paste FillBlock ' ' Return UnmarkBlock Grey/ Copy Grey+ PasteOver Grey* Paste #Del #Ins ^PrtSc PasteOver ^- GetPrev * Alternate Keys ------------------------------------------------------------- @A DropAnchor @B WrapPara CursorDown MakeCtrOfScreen @C CopyBlock @D DelLine @E EditFile @F MainMenu "F" @G DeleteBlock @H EditFile "C:\UTILITY\QEDIT.REF" Return @I ToggleTabsOut @J JoinLine @K MarkColumn @L MarkLine @M MoveBlock @N NextFile @O ChangeFilename @P MainMenu "P" @Q MainMenu "Q" @R CursorDown BegLine ReadBlock @S SplitLine @T PrevFile @U UnmarkBlock @V ToggleTabsExpand @W WriteBlock @X GExit @Y GSave @Z CopyOverBlock @1 Upper @2 Lower @3 Flip @4 * Insert Line with Summ of Marked Number Block after Current SetScreenOff WriteBlock "$$$$$$$$.$$$" Return UnmarkBlock DOS "SUMMBLK $$$$$$$$.$$$" Return AddLine BegLine AddLine BegLine ReadBlock Return CursorDown DelLine CursorUp DOS "DEL $$$$$$$$.$$$ > NUL" Return Return @/ Match @\ DelToEOL CopyBlock * Complete Current Line with "-" to Position 78 @- UnmarkBlock GoToColumn 79 MarkColumn EndLine CursorRight FillBlock "-" Return UnmarkBlock BegLine * Find Next Entry of Word at Cursor @= MarkWord MacroQuitFalse Copy Find Paste Return Return * Control Keys (WordStar Style) ---------------------------------------------- ^A WordLeft ^B_A AppendScrBuff ^B_D DelScrBuff ^B_L GetScrBuff ^B_S StoreScrBuff ^C PageDown ^D CursorRight ^E CursorUp ^F RepeatFind ^G DelCh ^H Backspace ^I TabRt ^J GotoLine ^K_B MarkBlockBegin ^K_C CopyBlock ^K_D Exit ^K_E EditFile ^K_F ChangeFilename ^K_H UnmarkBlock ^K_K MarkBlockEnd ^K_L FillBlock ^K_N NextFile ^K_P PrevFile ^K_Q PQuit ^K_R ReadBlock ^K_S SaveFile ^K_T MarkWord ^K_V MoveBlock ^K_W WriteBlock ^K_X File ^K_Y DeleteBlock ^K_Z KillFile ^L RepeatFind ^M MacroRecord ^N SplitLine ^O_C CloseWindow ^O_G GrowWindow ^O_H HorizontalWindow ^O_L SetPrintLeftMargin ^O_N NextWindow ^O_O OneWindow ^O_P PrevWindow ^O_R SetRMargin ^O_S ShrinkWindow ^O_T CenterLine ^O_W ToggleWordWrap ^O_Z ZoomWindow ^P Literal ^Q_A FindReplace ^Q_B GotoBlockBeg ^Q_C EndFile ^Q_D EndLine ^Q_E BegScreen ^Q_F Find ^Q_I ToggleIndent ^Q_K GotoBlockEnd ^Q_L UndoCursorline ^Q_P PrevPosition ^Q_Q RepeatCmd ^Q_R BegFile ^Q_S BegLine ^Q_T ToggleSmartTabs ^Q_X EndScreen ^Q_Y DelToEOL ^R PageUp ^S CursorLeft ^T DelRtWord ^U UnKill ^V ToggleInsert ^W ScrollUp ^X CursorDown ^Y * DelLine - Disabled: easily confused with @Y which cause problems ^Z ScrollDown * Other Keys ----------------------------------------------------------------- * Shell to DIRUTILY File Manager GreyEnter GSave DOS "C:\UTILITY\DIRUTILY" Return Return * Shell to Power-BASIC Development Environment @GreyEnter GSave DOS "C:\PWRBASIC\PB " CurrentFilename Return Return BegFile MarkLine EndFile MarkLine DeleteBlock ReadBlock CurrentFilename Return UnmarkBlock EndFile DelLine SaveFile BegFile * Delete Left Blanks & Justify Paragraph with First Line at Cursor ^Tab BegLine MarkColumn FirstNonWhite CursorLeft DeleteBlock WrapPara CursorDown MakeCtrOfScreen ^GreyEnter ExecuteScrap ^CenterCursor ^CursorDown LineDown ^CursorUp LineUp ^Del DeleteBlock * Reformat Mail Citation Paragraph with First Line at Cursor ^Grey* UnmarkBlock BegLine MarkColumn EndPara BegLine GotoColumn 3 MarkColumn GotoBlockBeg DeleteBlock MarkLine SetRmargin "77" Return WrapPara MarkLine SetRmargin "80" Return GotoBlockBeg EndLine "Ä>" MarkColumn CursorLeft CursorLeft MarkColumn BegLine MoveBlock GotoBlockEnd DelCh BegLine CursorDown INSPTR: CopyBlock CursorDown IsEmptyLine JFalse INSPTR UnmarkBlock CursorDown MakeCtrOfScreen ^Grey+ ^Grey- ^Grey/ ^Ins @BackSpace @Enter @Escape * Avoid using it - will be intercepted by Windoze @Grey* @Grey+ @Grey- @Grey/ @GreyCursorDown @GreyCursorLeft @GreyCursorRight @GreyCursorUp @GreyDel @GreyEnd @GreyHome @GreyIns @GreyPgDn @GreyPgUp @Tab * Avoid using it - will be intercepted by Windoze