home *** CD-ROM | disk | FTP | other *** search
/ Best Objectech Shareware Selections / UNTITLED.iso / boss / word / text / 024 / tde.cfg < prev    next >
Text File  |  1993-06-04  |  18KB  |  516 lines

  1. ;
  2. ;                      TDE, the Thomson-Davis Editor
  3. ;                               Version 3.0
  4. ;                               June 5, 1993
  5. ;                               Frank Davis
  6. ;
  7. ;
  8. ;
  9. ; These are the default function key, mode, and color assignments in
  10. ;   the distribution version of tde, version 2.0.  Please feel free to
  11. ;   change/modify these function assignments to suite your tastes.
  12. ;
  13. ;
  14. ;   s+  ==  Shift+     c+ == Control+     a+ == Alt+   s+a+  ==  Shift+Alt+
  15. ;
  16. ;
  17. ; Comments begin with a semicolon.
  18. ;
  19. ; Case is not significant for key names or function names.
  20. ;
  21. ; To define a macro, use the Macro function assignment followed by the keys
  22. ;   in the macro.  In tde, macros are simple keyboard macros.  Define the
  23. ;   macros as if you were entering keys from the keyboard.  Literals should
  24. ;   be enclosed by double quotes.  Place all of the macro definition on one
  25. ;   line.  Lines may be up to 1000 characters long.  Recursive macro
  26. ;   definitions are allowed.  Here are a few macro examples:
  27. ;
  28. ;
  29. ; This macro splits the screen and loads in a custom help file when Alt+5 is
  30. ;   pressed.
  31. ;
  32. ; a+5         Macro  Center f9 s+f4 "myhelp.hlp" enter
  33. ;
  34. ;
  35. ; This simple recursive macro moves the cursor down until the eof is reached.
  36. ;   The last key in the macro definition calls itself.
  37. ;
  38. ; a+6         Macro down a+6
  39. ;
  40. ;
  41. ; In some instances, you may want to wipe out any previously assigned
  42. ;   macro.  For example, you may have saved a macro file in tde and now want
  43. ;   to erase a macro assigned to a key.  Use the Null function to clear a key.
  44. ;
  45. ; a+7         Null
  46. ;
  47. ;
  48. ; To assign ASCII or Extended ASCII characters to function keys, enclose the
  49. ;   character in quotes.
  50. ;
  51. ; s+a+A       Macro "ä"
  52. ;
  53. ; s+a+t       Macro "tde, the Thomson-Davis Editor"
  54. ;
  55. ;
  56. ; You may assign any editor function to any recognized function key with
  57. ;   no restrictions.  For example, the Enter key could be assigned to the
  58. ;   MarkBox function.  Additionally, No function is required to be assigned
  59. ;   to any key, e.g. you don't have to assign any function to the Enter key if
  60. ;   you don't want to.  One function may be assigned to several keys, but
  61. ;   one key may only be assigned to only one function.  If a key is assigned
  62. ;   to several functions, only the last function assignment has any effect.
  63. ;
  64. ; All of the 233 recognized function keys in tde are listed below.
  65.  
  66.  
  67. ;
  68. ; basic editing keys
  69. ;
  70. enter         Rturn                     ; Note: Rturn is not spelled with an e
  71. s+enter       NextLine                  ; first character in next line
  72. c+enter       BegNextLine               ; column 1 of nextline
  73. a+Enter
  74.  
  75. GreyEnter                               ; 101 keyboard on keypad
  76. s+GreyEnter                             ; 101 keyboard on keypad
  77. c+GreyEnter                             ; 101 keyboard on keypad
  78. a+GreyEnter                             ; 101 keyboard on keypad
  79.  
  80.  
  81. backspace     BackSpace
  82. s+backspace   BackSpace
  83. c+backspace
  84. a+backspace
  85.  
  86.  
  87. esc           AbortCommand
  88. s+esc
  89. c+esc         ClearAllMacros
  90. a+esc
  91.  
  92. tab           Tab
  93. s+tab         BackTab
  94. c+tab         SetTabs
  95. a+tab         ToggleSmartTabs
  96.  
  97. ;
  98. ; function keys
  99. ;
  100. f1            Help
  101. f2            Save
  102. f3            Quit
  103. f4            File
  104. f5            RepeatFindForward1
  105. f6            RepeatFindBackward1
  106. ;f7            RepeatDiff
  107. f7            RepeatFindRegX
  108. f8            SplitVertical
  109. f9            SplitHorizontal
  110. f10           NextWindow
  111. f11           RepeatDiff
  112. f12           RepeatGrep
  113.  
  114.  
  115. s+f1          SaveMacro
  116. s+f2          SaveAs
  117. s+f3          LoadMacro
  118. s+f4          EditFile
  119. s+f5          FindForward
  120. s+f6          FindBackward
  121. s+f7          FindRegX
  122. s+f8          ReplaceString
  123. s+f9          SizeWindow
  124. s+f10         PreviousWindow
  125. s+f11         DefineDiff
  126. s+f12         DefineGrep
  127.  
  128.  
  129. c+f1          ToggleSync
  130. c+f2          ToggleEol
  131. c+f3          ToggleCRLF
  132. c+f4          ToggleTrailing
  133. c+f5          ToggleSearchCase
  134. c+f6          SetLeftMargin
  135. c+f7          SetRightMargin
  136. c+f8          SetParagraphMargin
  137. c+f9          ZoomWindow
  138. c+f10         NextHiddenWindow
  139. c+f11
  140. c+f12         DefineRegxGrep
  141.  
  142.  
  143. a+f1          DirList
  144. a+f2          SetFileAttributes
  145. a+f3          RecordMacro
  146. a+f4          EditNextFile
  147. ; a+f5          RepeatFindForward2
  148. ; a+f6          RepeatFindBackward2
  149. a+f5          NextDirtyLine
  150. a+f6          PrevDirtyLine
  151. a+f7          FormatParagraph
  152. a+f8          LeftJustify
  153. a+f9          RightJustify
  154. a+f10         CenterJustify
  155. a+f11
  156. a+f12         RepeatFindRegX
  157.  
  158.  
  159. ;
  160. ; control cluster / keypad keys
  161. ;
  162. Home          BegOfLine
  163. End           EndOfLine
  164. Left          CharLeft
  165. Right         CharRight
  166. Up            LineUp
  167. Down          LineDown
  168. PgUp          ScreenUp
  169. PgDn          ScreenDown
  170. Ins           ToggleOverWrite
  171. Del           DeleteChar
  172. Center        CenterWindow              ; center is the center of the key pad
  173.  
  174. c+Home        TopOfScreen
  175. c+End         BotOfScreen
  176. c+Left        WordLeft
  177. c+Right       WordRight
  178. c+Up          ScrollUpLine
  179. c+Down        ScrollDnLine
  180. c+PgUp        TopOfFile
  181. c+PgDn        EndOfFile
  182. c+Ins
  183. c+Del         StreamDeleteChar
  184. c+Center      CenterLine
  185.  
  186.  
  187. a+GreyHome                              ; 101 keyboard
  188. a+GreyEnd                               ; 101 keyboard
  189. a+GreyLeft    PanLeft                   ; 101 keyboard
  190. a+GreyRight   PanRight                  ; 101 keyboard
  191. a+GreyUp      PanUp                     ; 101 keyboard
  192. a+GreyDown    PanDn                     ; 101 keyboard
  193. a+GreyPgUp    HorizontalScreenLeft      ; 101 keyboard
  194. a+GreyPgDn    HorizontalScreenRight     ; 101 keyboard
  195. a+GreyIns                               ; 101 keyboard
  196. a+GreyDel                               ; 101 keyboard
  197.  
  198. Grey+         ScrollDnLine              ; with Numlock off
  199. Grey-         ScrollUpLine              ; with Numlock off
  200.  
  201. c+Grey+       PanDn
  202. c+Grey-       PanUp
  203. c+Grey/                                 ; 101 keyboard
  204. c+Grey*                                 ; 101 keyboard
  205.  
  206. a+Grey/                                 ; 101 keyboard
  207.  
  208.  
  209. s+c+left      PanLeft
  210. s+c+right     PanRight
  211.  
  212.  
  213. ;
  214. ; Alt keys
  215. ;
  216. a+a           AddLine
  217. a+b           MarkBox
  218. a+c           CopyBlock
  219. a+d           DeleteLine
  220. a+e           BlockExpandTabs
  221. a+f           FillBlock
  222. a+g           DeleteBlock
  223. a+h           Help
  224. a+i           ToggleIndent
  225. a+j           JoinLine
  226. a+k           KopyBlock
  227. a+l           MarkLine
  228. a+m           MoveBlock
  229. a+n           NumberBlock
  230. a+o           OverlayBlock
  231. a+p           PrintBlock
  232. a+q           Quit
  233. a+r           ToggleRuler
  234. a+s           SortBoxBlock
  235. a+t           BlockTrimTrailing
  236. a+u           UnMarkBlock
  237. a+v           ToggleWordWrap
  238. a+w           BlockToFile
  239. a+x           MarkStream
  240. a+y           UndoDelete
  241. a+z           ToggleZ
  242.  
  243.  
  244. a+~
  245. a+1           SetMark1
  246. a+2           SetMark2
  247. a+3           SetMark3
  248. a+4
  249. a+5
  250. a+6
  251. a+7
  252. a+8
  253. a+9
  254. a+0
  255. a+-           DelEndOfLine
  256. a+=           DuplicateLine
  257.  
  258. a+;
  259. a+'
  260.  
  261. a+<           BlockUpperCase
  262. a+>           BlockLowerCase
  263. a+?           BlockStripHiBit
  264.  
  265. a+[
  266. a+]
  267.  
  268. ;
  269. ; Control keys, listed in order of appearance in standard ASCII tables
  270. ;
  271. c+@           DateTimeStamp             ; Control + at sign
  272. c+a           WordLeft
  273. c+b           FormatText
  274. c+c           ScreenDown
  275. c+d           CharRight
  276. c+e           LineUp
  277. c+f           WordRight
  278. c+g           DeleteChar
  279. c+h           BackSpace
  280. c+i           Tab
  281. c+j           Help
  282. c+k
  283. c+l
  284. c+m           Rturn
  285. c+n           AddLine
  286. c+o
  287. c+p           Pause
  288. c+q
  289. c+r           ScreenUp
  290. c+s           CharLeft
  291. c+t           WordDelete
  292. c+u           UndoDelete
  293. c+v           ToggleOverWrite
  294. c+w           ScrollUpLine
  295. c+x           LineDown
  296. c+y           DeleteLine
  297. c+z           ScrollDnLine
  298. c+[           AbortCommand
  299. c+\           RedrawScreen
  300. c+]           ParenBalance
  301. c+^
  302. c+_           SplitLine
  303.  
  304.  
  305. ;
  306. ; Simple tests for the two-key facility
  307. ;
  308. c+k  q        Quit
  309. c+k  w        SplitHorizontal
  310.  
  311. ;
  312. ; shift + alt keys
  313. ;
  314. s+a+A
  315. s+a+B
  316. s+a+C         Bloc