home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Black Box 4
/
BlackBox.cdr
/
editors
/
qedit215.arj
/
QCONFIG.DAT
< prev
next >
Wrap
Text File
|
1991-09-04
|
7KB
|
335 lines
*
* QCONFIG.DAT: 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 "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 commands must be separated by a '_'.
*
* Multiple commands and/or text may be entered for a single key. To do so,
* specify "MacroBegin" as the first command. To enter text, enclose the
* text in single or double quote marks. For example:
*
* f1 MacroBegin 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:
*
* MacroBegin 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:
*
* 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 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 key set
*
f1 QuickHelp
f2 AddLine
f3 GPQuit
f4 DupLine
f5 MakeTopOfScreen
f6 DelToEol
f7 MarkBlockBegin
f8 MarkBlockEnd
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 InsertLine
@f3 Match
@f4
@f5 ScreenLeft
@f6 ScreenRight
@f7
@f8
@f9 Dos
@f10 ShowEntryScreen
* enhanced keyboard only
@f11
@f12
*
* special keys
*
cursorup CursorUp
cursordown CursorDown
cursorleft CursorLeft
cursorright CursorRight
^cursorleft WordLeft
^cursorright WordRight
home BegLine
end EndLine
^home BegScreen
^end EndScreen
pgup PageUp
pgdn PageDown
^pgdn EndFile
^pgup BegFile
#tab TabLt
tab TabRt
ins ToggleInsert
del DelCh
backspace Backspace
^backspace DelLtWord
enter Return
^enter ExecuteScrap
escape Escape
grey* Paste
grey+ Copy
grey- Cut
#del
#ins
`
~
/
^prtsc PasteOver
^2
^6
^[
^\
*
* Macro to edit the file whose name is sitting at the cursor in the editor
*
^] MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
^- GetPrev
*
* alternate keys
*
@a DropAnchor
@b WrapPara
@c CopyBlock
@d DelLine
@e EditFile
@f MacroBegin MainMenu 'f'
@g DeleteBlock
@h QuickHelp
@i ToggleTabsOut
@j JoinLine
@k MarkColumn
@l MarkLine
@m MoveBlock
@n NextFile
@o ChangeFilename
@p MacroBegin MainMenu 'p'
@q MacroBegin MainMenu 'q'
@r ReadBlock
@s SplitLine
@t
@u UnmarkBlock
@v ToggleTabsExpand
@w WriteBlock
@x GExit
@y GSave
@z CopyOverBlock
@1 Upper
@2 Lower
@3 Flip
@4
@5
@6
@7
@8
@9
@0
@-
@= MacroBegin MarkWord Copy Find Paste Return Return
*
* control keys
*
^a WordLeft
^b_a AppendScrBuff
^b_l GetScrBuff
^b_s StoreScrBuff
^c PageDown
^d CursorRight
^e CursorUp
^f WordRight
^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
^z ScrollDown
*
* 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