home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Best Objectech Shareware Selections
/
UNTITLED.iso
/
boss
/
word
/
text
/
024
/
tde.cfg
< prev
next >
Wrap
Text File
|
1993-06-04
|
18KB
|
516 lines
;
; TDE, the Thomson-Davis Editor
; Version 3.0
; June 5, 1993
; Frank Davis
;
;
;
; These are the default function key, mode, and color assignments in
; the distribution version of tde, version 2.0. Please feel free to
; change/modify these function assignments to suite your tastes.
;
;
; s+ == Shift+ c+ == Control+ a+ == Alt+ s+a+ == Shift+Alt+
;
;
; Comments begin with a semicolon.
;
; Case is not significant for key names or function names.
;
; To define a macro, use the Macro function assignment followed by the keys
; in the macro. In tde, macros are simple keyboard macros. Define the
; macros as if you were entering keys from the keyboard. Literals should
; be enclosed by double quotes. Place all of the macro definition on one
; line. Lines may be up to 1000 characters long. Recursive macro
; definitions are allowed. Here are a few macro examples:
;
;
; This macro splits the screen and loads in a custom help file when Alt+5 is
; pressed.
;
; a+5 Macro Center f9 s+f4 "myhelp.hlp" enter
;
;
; This simple recursive macro moves the cursor down until the eof is reached.
; The last key in the macro definition calls itself.
;
; a+6 Macro down a+6
;
;
; In some instances, you may want to wipe out any previously assigned
; macro. For example, you may have saved a macro file in tde and now want
; to erase a macro assigned to a key. Use the Null function to clear a key.
;
; a+7 Null
;
;
; To assign ASCII or Extended ASCII characters to function keys, enclose the
; character in quotes.
;
; s+a+A Macro "ä"
;
; s+a+t Macro "tde, the Thomson-Davis Editor"
;
;
; You may assign any editor function to any recognized function key with
; no restrictions. For example, the Enter key could be assigned to the
; MarkBox function. Additionally, No function is required to be assigned
; to any key, e.g. you don't have to assign any function to the Enter key if
; you don't want to. One function may be assigned to several keys, but
; one key may only be assigned to only one function. If a key is assigned
; to several functions, only the last function assignment has any effect.
;
; All of the 233 recognized function keys in tde are listed below.
;
; basic editing keys
;
enter Rturn ; Note: Rturn is not spelled with an e
s+enter NextLine ; first character in next line
c+enter BegNextLine ; column 1 of nextline
a+Enter
GreyEnter ; 101 keyboard on keypad
s+GreyEnter ; 101 keyboard on keypad
c+GreyEnter ; 101 keyboard on keypad
a+GreyEnter ; 101 keyboard on keypad
backspace BackSpace
s+backspace BackSpace
c+backspace
a+backspace
esc AbortCommand
s+esc
c+esc ClearAllMacros
a+esc
tab Tab
s+tab BackTab
c+tab SetTabs
a+tab ToggleSmartTabs
;
; function keys
;
f1 Help
f2 Save
f3 Quit
f4 File
f5 RepeatFindForward1
f6 RepeatFindBackward1
;f7 RepeatDiff
f7 RepeatFindRegX
f8 SplitVertical
f9 SplitHorizontal
f10 NextWindow
f11 RepeatDiff
f12 RepeatGrep
s+f1 SaveMacro
s+f2 SaveAs
s+f3 LoadMacro
s+f4 EditFile
s+f5 FindForward
s+f6 FindBackward
s+f7 FindRegX
s+f8 ReplaceString
s+f9 SizeWindow
s+f10 PreviousWindow
s+f11 DefineDiff
s+f12 DefineGrep
c+f1 ToggleSync
c+f2 ToggleEol
c+f3 ToggleCRLF
c+f4 ToggleTrailing
c+f5 ToggleSearchCase
c+f6 SetLeftMargin
c+f7 SetRightMargin
c+f8 SetParagraphMargin
c+f9 ZoomWindow
c+f10 NextHiddenWindow
c+f11
c+f12 DefineRegxGrep
a+f1 DirList
a+f2 SetFileAttributes
a+f3 RecordMacro
a+f4 EditNextFile
; a+f5 RepeatFindForward2
; a+f6 RepeatFindBackward2
a+f5 NextDirtyLine
a+f6 PrevDirtyLine
a+f7 FormatParagraph
a+f8 LeftJustify
a+f9 RightJustify
a+f10 CenterJustify
a+f11
a+f12 RepeatFindRegX
;
; control cluster / keypad keys
;
Home BegOfLine
End EndOfLine
Left CharLeft
Right CharRight
Up LineUp
Down LineDown
PgUp ScreenUp
PgDn ScreenDown
Ins ToggleOverWrite
Del DeleteChar
Center CenterWindow ; center is the center of the key pad
c+Home TopOfScreen
c+End BotOfScreen
c+Left WordLeft
c+Right WordRight
c+Up ScrollUpLine
c+Down ScrollDnLine
c+PgUp TopOfFile
c+PgDn EndOfFile
c+Ins
c+Del StreamDeleteChar
c+Center CenterLine
a+GreyHome ; 101 keyboard
a+GreyEnd ; 101 keyboard
a+GreyLeft PanLeft ; 101 keyboard
a+GreyRight PanRight ; 101 keyboard
a+GreyUp PanUp ; 101 keyboard
a+GreyDown PanDn ; 101 keyboard
a+GreyPgUp HorizontalScreenLeft ; 101 keyboard
a+GreyPgDn HorizontalScreenRight ; 101 keyboard
a+GreyIns ; 101 keyboard
a+GreyDel ; 101 keyboard
Grey+ ScrollDnLine ; with Numlock off
Grey- ScrollUpLine ; with Numlock off
c+Grey+ PanDn
c+Grey- PanUp
c+Grey/ ; 101 keyboard
c+Grey* ; 101 keyboard
a+Grey/ ; 101 keyboard
s+c+left PanLeft
s+c+right PanRight
;
; Alt keys
;
a+a AddLine
a+b MarkBox
a+c CopyBlock
a+d DeleteLine
a+e BlockExpandTabs
a+f FillBlock
a+g DeleteBlock
a+h Help
a+i ToggleIndent
a+j JoinLine
a+k KopyBlock
a+l MarkLine
a+m MoveBlock
a+n NumberBlock
a+o OverlayBlock
a+p PrintBlock
a+q Quit
a+r ToggleRuler
a+s SortBoxBlock
a+t BlockTrimTrailing
a+u UnMarkBlock
a+v ToggleWordWrap
a+w BlockToFile
a+x MarkStream
a+y UndoDelete
a+z ToggleZ
a+~
a+1 SetMark1
a+2 SetMark2
a+3 SetMark3
a+4
a+5
a+6
a+7
a+8
a+9
a+0
a+- DelEndOfLine
a+= DuplicateLine
a+;
a+'
a+< BlockUpperCase
a+> BlockLowerCase
a+? BlockStripHiBit
a+[
a+]
;
; Control keys, listed in order of appearance in standard ASCII tables
;
c+@ DateTimeStamp ; Control + at sign
c+a WordLeft
c+b FormatText
c+c ScreenDown
c+d CharRight
c+e LineUp
c+f WordRight
c+g DeleteChar
c+h BackSpace
c+i Tab
c+j Help
c+k
c+l
c+m Rturn
c+n AddLine
c+o
c+p Pause
c+q
c+r ScreenUp
c+s CharLeft
c+t WordDelete
c+u UndoDelete
c+v ToggleOverWrite
c+w ScrollUpLine
c+x LineDown
c+y DeleteLine
c+z ScrollDnLine
c+[ AbortCommand
c+\ RedrawScreen
c+] ParenBalance
c+^
c+_ SplitLine
;
; Simple tests for the two-key facility
;
c+k q Quit
c+k w SplitHorizontal
;
; shift + alt keys
;
s+a+A
s+a+B
s+a+C Bloc