home *** CD-ROM | disk | FTP | other *** search
/ Game Fest 1993 / gamefest1993stgcomputerslimited1993.iso / soft / more4 / pro7 / qconfig.dat < prev    next >
Text File  |  1991-09-03  |  7KB  |  335 lines

  1. *
  2. * QCONFIG.DAT:  Default config file for QEdit 2.x.
  3. *
  4. * Specify control-key commands via: ^f1 - This means Control-F1
  5. * Specify alt-key commands via: @f1     - This means Alt-F1
  6. * Specify shift-key commands via: #f1   - This means Shift-F1
  7. *
  8. * There is also a provision for "two key commands".
  9. * For example, to make the Control-F1, Control-F2 sequence issue the
  10. * exit command, try the following:
  11. *
  12. * ^f1_^f2     Exit
  13. *
  14. * The key here is that the commands must be separated by a '_'.
  15. *
  16. * Multiple commands and/or text may be entered for a single key.  To do so,
  17. * specify "MacroBegin" as the first command.  To enter text, enclose the
  18. * text in single or double quote marks.  For example:
  19. *
  20. * f1  MacroBegin EditFile 'help.dat' Return
  21. *
  22. * This command would load the file 'help.dat'.  Note the return command is
  23. * issued after the text.  This is required to terminate the QEdit prompt.
  24. *
  25. * Following is a macro that will run make and load the results into a window:
  26. *
  27. * MacroBegin EditFile 'errors.lst' Return Quit Dos 'make >errors.lst' Return Return HorizontalWindow  EditFile 'errors.lst' Return
  28. *
  29. * Following macro will run Turbo C on the current file:
  30. *
  31. * MacroBegin GSave Dos 'tcc -y -M ' CurrentFilename Return
  32. *
  33. * Finally, you can also use the scancode to represent "special keys", as
  34. * long as this key returns a ascii character code of 0.
  35. * For example Alt-F9 returns an ascii character of 0 and a scan code of
  36. * 112 decimal.  To make Alt-F9 issue the EditFile command, you could:
  37. *
  38. * 112  EditFile
  39. *     or
  40. * @f9  EditFile
  41. *
  42. * Either will work.  This becomes especially useful if you have a macro
  43. * processor and/or special keyboard that has extended keys that QEdit
  44. * doesn't have names for.  This gives you a method to use them.
  45. *
  46. * Note that the order of this file is NOT important.  Arrange it however
  47. * makes sense to you.
  48. *
  49.  
  50. *
  51. * function key set
  52. *
  53.  
  54. f1               QuickHelp
  55. f2               AddLine
  56. f3               GPQuit
  57. f4               DupLine
  58. f5               MakeTopOfScreen
  59. f6               DelToEol
  60. f7               MarkBlockBegin
  61. f8               MarkBlockEnd
  62. f9               Shell
  63. f10
  64.  
  65. * enhanced keyboard only
  66. f11
  67. f12
  68.  
  69. #f1              ToggleBoxDraw
  70. #f2
  71. #f3              Sort
  72. #f4
  73. #f5              MakeCtrOfScreen
  74. #f6
  75. #f7              ShiftLeft
  76. #f8              ShiftRight
  77. #f9
  78. #f10
  79.  
  80. * enhanced keyboard only
  81. #f11
  82. #f12
  83.  
  84. ^f1              ToggleEGA43
  85. ^f2
  86. ^f3
  87. ^f4
  88. ^f5
  89. ^f6
  90. ^f7
  91. ^f8
  92. ^f9
  93. ^f10
  94.  
  95. * enhanced keyboard only
  96. ^f11
  97. ^f12
  98.  
  99. @f1              ToggleBoxType
  100. @f2              InsertLine
  101. @f3              Match
  102. @f4
  103. @f5              ScreenLeft
  104. @f6              ScreenRight
  105. @f7
  106. @f8
  107. @f9              Dos
  108. @f10             ShowEntryScreen
  109.  
  110. * enhanced keyboard only
  111. @f11
  112. @f12
  113.  
  114. *
  115. * special keys
  116. *
  117.  
  118. cursorup         CursorUp
  119. cursordown       CursorDown
  120. cursorleft       CursorLeft
  121. cursorright      CursorRight
  122. ^cursorleft      WordLeft
  123. ^cursorright     WordRight
  124. home             BegLine
  125. end              EndLine
  126. ^home            BegScreen
  127. ^end             EndScreen
  128. pgup             PageUp
  129. pgdn             PageDown
  130. ^pgdn            EndFile
  131. ^pgup            BegFile
  132.  
  133. #tab             TabLt
  134. tab              TabRt
  135.  
  136. ins              ToggleInsert
  137. del              DelCh
  138.  
  139. backspace        Backspace
  140. ^backspace       DelLtWord
  141.  
  142. enter            Return
  143. ^enter           ExecuteScrap
  144.  
  145. escape           Escape
  146.  
  147. grey*            Paste
  148. grey+            Copy
  149. grey-            Cut
  150. #del
  151. #ins
  152. `
  153. ~
  154. /
  155.  
  156. ^prtsc           PasteOver
  157. ^2
  158. ^6
  159. ^[
  160. ^\
  161. *
  162. * Macro to edit the file whose name is sitting at the cursor in the editor
  163. *
  164. ^]                 MacroBegin AltWordSet MarkWord Copy DefaultWordSet EditFile Paste Return
  165. ^-                 GetPrev
  166.  
  167. *
  168. * alternate keys
  169. *
  170.  
  171. @a               DropAnchor
  172. @b               WrapPara
  173. @c               CopyBlock
  174. @d               DelLine
  175. @e               EditFile
  176. @f               MacroBegin MainMenu 'f'
  177. @g               DeleteBlock
  178. @h               QuickHelp
  179. @i               ToggleTabsOut
  180. @j               JoinLine
  181. @k               MarkColumn
  182. @l               MarkLine
  183. @m               MoveBlock
  184. @n               NextFile
  185. @o               ChangeFilename
  186. @p               MacroBegin MainMenu 'p'
  187. @q               MacroBegin MainMenu 'q'
  188. @r               ReadBlock
  189. @s               SplitLine
  190. @t
  191. @u               UnmarkBlock
  192. @v               ToggleTabsExpand
  193. @w               WriteBlock
  194. @x               GExit
  195. @y               GSave
  196. @z               CopyOverBlock
  197. @1               Upper
  198. @2               Lower
  199. @3               Flip
  200. @4
  201. @5
  202. @6
  203. @7
  204. @8
  205. @9
  206. @0
  207. @-
  208. @=               MacroBegin MarkWord Copy Find Paste Return Return
  209.  
  210. *
  211. * control keys
  212. *
  213.  
  214.  
  215. ^a               WordLeft
  216. ^b_a             AppendScrBuff
  217. ^b_l             GetScrBuff
  218. ^b_s             StoreScrBuff
  219. ^c               PageDown
  220. ^d               CursorRight
  221. ^e               CursorUp
  222. ^f               WordRight
  223. ^g               DelCh
  224. ^h               Backspace
  225. ^i               TabRt
  226. ^j               GotoLine
  227. ^k_b             MarkBlockBegin
  228. ^k_c             CopyBlock
  229. ^k_d             Exit
  230. ^k_e             EditFile
  231. ^k_f             ChangeFilename
  232. ^k_h             UnmarkBlock
  233. ^k_k             MarkBlockEnd
  234. ^k_l             FillBlock
  235. ^k_n             NextFile
  236. ^k_p             PrevFile
  237. ^k_q             PQuit
  238. ^k_r             ReadBlock
  239. ^k_s             SaveFile
  240. ^k_t             MarkWord
  241. ^k_v             MoveBlock
  242. ^k_w             WriteBlock
  243. ^k_x             File
  244. ^k_y             DeleteBlock
  245. ^k_z             KillFile
  246. ^l               RepeatFind
  247. ^m               MacroRecord
  248. ^n               SplitLine
  249. ^o_c             CloseWindow
  250. ^o_g             GrowWindow
  251. ^o_h             HorizontalWindow
  252. ^o_l             SetPrintLeftMargin
  253. ^o_n             NextWindow
  254. ^o_o             OneWindow
  255. ^o_p             PrevWindow
  256. ^o_r             SetRMargin
  257. ^o_s             ShrinkWindow
  258. ^o_t             CenterLine
  259. ^o_w             ToggleWordWrap
  260. ^o_z             ZoomWindow
  261. ^p               Literal
  262. ^q_a             FindReplace
  263. ^q_b             GotoBlockBeg
  264. ^q_c             EndFile
  265. ^q_d             EndLine
  266. ^q_e             BegScreen
  267. ^q_f             Find
  268. ^q_i             ToggleIndent
  269. ^q_k             GotoBlockEnd
  270. ^q_l             UndoCursorline
  271. ^q_p             PrevPosition
  272. ^q_q             RepeatCmd
  273. ^q_r             BegFile
  274. ^q_s             BegLine
  275. ^q_t             ToggleSmartTabs
  276. ^q_x             EndScreen
  277. ^q_y             DelToEol
  278. ^r               PageUp
  279. ^s               CursorLeft
  280. ^t               DelRtWord
  281. ^u               UnKill
  282. ^v               ToggleInsert
  283. ^w               ScrollUp
  284. ^x               CursorDown
  285. ^y               DelLine
  286. ^z               ScrollDown
  287.  
  288. *
  289. * other enhanced only keys
  290. *
  291. @'
  292. @,
  293. @.
  294. @/
  295. @;
  296. @[
  297. @\
  298. @]
  299. @`
  300. @backspace
  301. @enter
  302. @escape
  303. @grey*
  304. @grey+
  305. @grey-
  306. @grey/
  307. @greycursordown
  308. @greycursorleft
  309. @greycursorright
  310. @greycursorup
  311. @greydel
  312. @greyend
  313. @greyhome
  314. @greyins
  315. @greypgdn
  316. @greypgup
  317. @greyenter
  318. @tab
  319.  
  320. greyenter        Return
  321. ^greyenter       ExecuteScrap
  322. ^centercursor
  323. ^cursordown      LineDown
  324. ^cursorup        LineUp
  325. ^del
  326.  
  327. ^grey*
  328. ^grey+
  329. ^grey-
  330. ^grey/
  331. ^ins
  332. ^tab
  333.  
  334. centercursor
  335.