home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / sedt2.zip / FUNDEF.INP < prev    next >
Text File  |  1989-12-06  |  4KB  |  204 lines

  1. ;Functions defined for keyboard mapping
  2. ;Anker Berg-Sonne
  3. 4 :EAP@SR.
  4. Append select range to paste buffer
  5. 6 ^C(:FS).
  6. Save contents of buffer
  7. 7 ^C(:FS):CS.
  8. Save context and contents of buffer
  9. 8 :Q.
  10. Quit without saving buffer
  11. 9 .
  12. Dead key
  13. 10 0:X.
  14. Save buffer and exit
  15. 11 (27:CH).
  16. Insert an escape character
  17. 12 -@L.
  18. Goto beginning of line
  19. 13 (:D-@W).
  20. Delete to beginning of word
  21. 15 :H//.
  22. Help
  23. 16 :SYS?"Operating system command: ".
  24. Execute operating system command
  25. 17 0:WI.
  26. Select buffer 0
  27. 18 1:WI.
  28. Select buffer 1
  29. 19 2:WI.
  30. Select buffer 2
  31. 20 3:WI.
  32. Select buffer 3
  33. 21 @N.
  34. Goto next occurrence of search string
  35. 22 :USR.
  36. Paste
  37. 23 :D@SR.
  38. Cut
  39. 24 :SEL.
  40. Set select point
  41. 25 -@SCR.
  42. Go one screen up
  43. 26 +@SCR.
  44. Go one screen down
  45. 27 -@V.
  46. Go 1 line up vertically
  47. 28 -@C.
  48. Go 1 character back
  49. 29 +@V.
  50. Go 1 line down vertically
  51. 30 +@C.
  52. Go 1 character forward
  53. 31 @L.
  54. Goto beginning of next line
  55. 32 @W.
  56. Goto next word
  57. 33 @EL.
  58. Goto next end of line
  59. 34 @C.
  60. Goto next character
  61. 35 :A.
  62. Set default direction forward
  63. 36 :B.
  64. Set default direction reverse
  65. 38 @PAG.
  66. Goto next page
  67. 39 @PAR.
  68. Goto next paragraph
  69. 40 :NS.
  70. Substitute next occurrence of search string
  71. 41 (:D+@C).
  72. Delete character forward
  73. 42 (:D+@W).
  74. Delete word forward
  75. 47 (:D+@L).
  76. Delete line forward
  77. 49 (^S(:D@SR|:D-@C)).
  78. Delete character backward
  79. 50 :LS.
  80. Set indentation level
  81. 51 :LD.
  82. Decrease indentation level
  83. 52 :LI.
  84. Increase indentation level
  85. 54 :TAB.
  86. Insert a tab character
  87. 55 (:D-@W).
  88. Delete to beginning of word
  89. 56 :KF!"Key:"?"As: ".
  90. Define key
  91. 57 :FNL.
  92. Enlargen Font
  93. 58 :NL.
  94. Insert a carriage return
  95. 59 :PR?"Print on file: ".
  96. Print contents of buffer
  97. 60 :FNS.
  98. Reduce font
  99. 61 :TAD@SR.
  100. Adjust text a tab stop
  101. 62 (:D-@L).
  102. Delete to beginning of line
  103. 63 :RF.
  104. Refresh display
  105. 65 (^S(:D@SR|:D-@C)).
  106. Delete previous character
  107. 66 :SK!"Key:".
  108. Save key definition in buffer
  109. 67 :LK!"Key:"@SR.
  110. Load key definition from select range
  111. 69 +
  112. Set temporary direction to forward
  113. 70 -
  114. Set temporary direction to reverse
  115. 71 @M.
  116. Goto mark
  117. 74 :TS.
  118. Toggle automatic screen shifting
  119. 75 +@EB.
  120. Goto end of buffer
  121. 76 :CL.
  122. Center line
  123. 77 :WC.
  124. Toggle between one and two window mode
  125. 78 :FE?"Edit File: ".
  126. Edit new file in current buffer
  127. 80 :FG?"Get File: ".
  128. Include file at current position
  129. 82 :TT.
  130. Toggle tab expansion/insertion
  131. 83 (9:M^E(-@L)():FT+@PAR9@M).
  132. Refill paragraph from beginning of line
  133. 84 :TB.
  134. Toggle block/line cut and paste
  135. 85 :M.
  136. Set mark
  137. 86 :OS.
  138. Toggle overstrike mode
  139. 87 (12:CH).
  140. Insert a form feed character
  141. 89 :RL.
  142. Enter ruler definition mode
  143. 90 :FS?"Save onto File: ".
  144. Save contents of buffer
  145. 91 -@BB.
  146. Goto start of buffer
  147. 92 :UM.
  148. Undo last command if possible
  149. 93 :WD.
  150. Toggle between 132 and 80 character screen
  151. 94 :OW.
  152. Switch to previous window
  153. 95 :Z.
  154. Clear buffer
  155. 96 :I- 9:M^E(-@L)():FT+@PAR9@M.
  156. Insert a hyphen and reindent paragraph
  157. 97 :PL?"Load Paste Buffer From File: ".
  158. Load paste buffer from file
  159. 100 ?"SEDT Command: ".
  160. Execute Sedt command
  161. 101 :OM/Type control B to end learning and replay learned keystrokes/:LNL000.
  162. Learn keystrokes into ^Z
  163. 102 :LNL!"Key to save learned input in:".
  164. Learn keystrokes into arbitrary key
  165. 103 @BM.
  166. Goto matching bracketing character
  167. 104 @F?"String: ".
  168. Goto next occurence of string
  169. 105 :GE@SR.
  170. Load paste buffer from select range without deleting
  171. 106 :RS.
  172. Cancel select point
  173. 109 :CT.
  174. Position cursor at top of screen
  175. 110 0(-@L:TI).
  176. Go backwards until key struck
  177. 111 :CB.
  178. Position cursor at bottom of screen
  179. 112 0(+@L:TI).
  180. Go forward until key struck
  181. 113 :OL.
  182. Open line
  183. 114 :CE.
  184. Change case EDT style (Select range,found string,character)
  185. 115 (:D+@EL).
  186. Delete to end of line
  187. 116 :CH.
  188. Insert ASCII character
  189. 121 :FT+@PAR.
  190. Fill or justify to end of paragraph
  191. 122 :SUB?"String: "?"By: ".
  192. Substitute one string by another
  193. 123 :UC.
  194. Undelete character
  195. 124 :UW.
  196. Undelete word
  197. 127 :UL.
  198. Undelete Line
  199. 128 (:D+@C+@C:UC).
  200. Swap characters
  201. 129 2:CH.
  202. Insert a Control B character 
  203. 
  204.