home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 5 Edit
/
05-Edit.zip
/
pmeditor.zip
/
RSE.KEY
< prev
next >
Wrap
Text File
|
1990-06-15
|
12KB
|
376 lines
; A semicolon begins a comment (like assembly language), the remainder of
; the line following a semicolon is ignored
;
; Format of a key definition line:
;
; [ [ [[SHIFT+][CTRL+][ALT+]] KEY ]...] = [BUILTIN | MACRO | FUNCTION] function_name [file_name]
;
; BUILTIN is the default and need not be specified
; MACRO is for a keystroke macro which you have saved (unsupported in this version)
; FUNCTION is for macro Language compiled functions (unsupported in this version)
;
; Whitespace is ignored between tokens
; Multiple shift keys may be specified, eg. :
;
; CTRL + ALT + 'C' = SomeFunctionName
;
; Multi-keystroke sequences can be defined, eg. :
;
; CTRL + 'K' + CTRL + 'X' = ExitEditor
; CTRL + 'X' + CTRL + 'X' = SaveAllAndExit
;
;
; file_name is required for MACRO and FUNCTION definitions only and MUST
; NOT be specified for BUILTIN function definitions
;
; Please NOTE: The current version does not support MACRO or FUNCTION
; definitions. Only BUILTIN functions are currently supported.
;
;
; The following keys are reserved for system menu accelorator keys and
; should not be defined, as the definitions will be ignored
;
;F1 PM uses this to invoke HELP
;F10 PM uses this to activate the ACTION BAR
;
;ALT + SPACE PM uses this to activate the main window's system menu
;ALT + F4 PM uses this to CLOSE the application (ExitEditor)
;ALT + F5 PM uses this to RESTORE the application main window
;ALT + F7 PM uses this to MOVE the application main window
;ALT + F8 PM uses this to SIZE the application main window
;ALT + F9 PM uses this to MINIMIZE the application main window
;ALT + F10 PM uses this to MAXIMIZE the application main window
;
;CTRL + SPACE PM uses this to activate the current edit window's system menu
;CTRL + F4 PM uses this key to CLOSE the current edit window
;CTRL + F5 PM uses this key to RESTORE the current edit window
;CTRL + F7 PM uses this key to MOVE the current edit window
;CTRL + F8 PM uses this key to SIZE the current edit window
;CTRL + F9 PM uses this key to MINIMIZE the current edit window
;CTRL + F10 PM uses this key to MAXIMIZE the current edit window
;
; BRIEF (Registered trademark of Underware, Inc.) compatible key definitions
;
;
;ALT + 'A' = inclusive block marking not supported - do you use it?
ALT + 'C' = MarkColumn
ALT + 'D' = DeleteLine
ALT + 'E' = OpenFile
ALT + 'G' = GotoLine
;ALT + 'H' =
ALT + 'I' = ToggleInsert
;ALT + 'J' = ; JumpToBookmark not ready in this version
ALT + 'K' = DeleteLineEnd
ALT + 'L' = MarkLine
ALT + 'M' = MarkBlock
ALT + 'N' = NextBuffer
ALT + 'O' = RenameBuffer
ALT + 'P' = Print
;ALT + 'Q' =
ALT + 'R' = Redo ; BRIEF uses this key for ReadFile it has been moved to CTRL+ R
;ALT + 'S' =
ALT + 'T' = ToggleTabs
ALT + 'U' = Undo
ALT + 'V' = AboutEditor
ALT + 'W' = Write
ALT + 'X' = ExitEditor
;ALT + 'Y' =
;ALT + 'Z' = Start windowed command interpreted. Use Alt+ESC to start one.
ALT + '-' = PrevBuffer
;ALT + '1' = ; SetBookmark not available in this version
;ALT + '2' =
;ALT + '3' =
;ALT + '4' =
;ALT + '5' =
;ALT + '6' =
;ALT + '7' =
;ALT + '8' =
;ALT + '9' =
;ALT + '0' =
; All supported special key names follow, even those not assigned
; just so you know what every key is named.
;
; KP stands for the Key Pad keys.
; ALT+ESCAPE, ALT+TAB and CTRL+ESCAPE are reserved for PM's use
; do not define these as they will be ignored
ESCAPE = SelfInsert
BACKSPACE = DeleteCharLeft
SHIFT + BACKSPACE = DeleteCharLeft
TAB = SelfInsert
ENTER = NewLineIndent
SHIFT + ENTER = NewLine
KP_SLASH = SelfInsert
KP_STAR = Undo
SHIFT + KP_STAR = Redo
SPACE = SelfInsert
SHIFT + SPACE = SelfInsert
SHIFT + F1 = NextWindow;
CTRL + F1 = PrevWindow;
ALT + F1 = CascadeWindows;
SHIFT+CTRL+F1 = TileWindows;
;F2
F3 = DuplicateWindow
F4 = DeleteCurrentWindow
F5 = SearchForward
SHIFT+CTRL+F5 = SearchBackward
ALT+'F'+ALT+'F' = SearchForward
ALT+'F'+ALT+'B' = SearchBackward
SHIFT + F5 = SearchAgain
F6 = ReplaceForward
SHIFT+CTRL+F6 = ReplaceBackward
CTRL+'F'+CTRL+'F'= ReplaceForward
CTRL+'F'+CTRL+'B'= ReplaceBackward
SHIFT + F6 = ReplaceAgain
F7 = ToggleRecordMacro
F8 = PlayMacro
SHIFT + F8 = PlayMacroAgain
;F9
SHIFT + F10 = CompileCurrentBuffer ; NOTE: BRIEF uses ALT+F10
;F11
;F12
; NOTE: Consecutive requests of the Home builtin command and the End builtin
; command support BRIEF's convention. A key assigned to the Home or End
; builtin command will perform three different actions when invoked
; consecutively:
;
; For the Home builtin command:
;
; 1st time command invoked - move to the beginning of the current line
; 2nd (consecutive) invocation - move to the beginning of the top line in window
; 3rd (consecutive) invocation - move to the beginning of the buffer (file)
;
; For the End builtin command:
;
; 1st time command invoked - move to end of current line
; 2nd (consecutive) invocation - move to end of last line in window
; 3rd (consecutive) invocation - move to end of the buffer (file)
;
;
; So if the Home builtin command is assigned to the HOME key:
;
; HOME moves to the beginning of the current line
; HOME+HOME moves to the beginning of the top line in window
; HOME+HOME+HOME moves to the beginning of the file
;
; and if the End builtin command is assigned to the END key:
;
; END moves to the end of the current line
; END+END moves to the end of the last line in window
; END+END+END moves to the end of the file
;
; Any other commands invoked in between will reset the counters.
;
; If you don't want this behavior you can use LineStart and LineEnd
; these commands do only the single action.
HOME = Home
KP_HOME = Home
CTRL+HOME = TopOfBuffer
CTRL+KP_HOME = TopOfBuffer
END = End
KP_END = End
CTRL+KP_END = EndOfBuffer
CTRL+END = EndOfBuffer
PGUP = PageUp
KP_PGUP = PageUp
PGDN = PageDown
KP_PGDN = PageDown
UP = Up
KP_UP = Up
DOWN = Down
KP_DOWN = Down
KP_LEFT = Left
LEFT = Left
CTRL + LEFT = WordLeft
CTRL + KP_LEFT = WordLeft
RIGHT = Right
KP_RIGHT = Right
CTRL + RIGHT = WordRight
CTRL + KP_RIGHT = WordRight
;KP_5
KP_MINUS = CutClipboard
KP_PLUS = CopyClipboard
INSERT = PasteClipboard
KP_INSERT = PasteClipboard
DELETE = DeleteChar
KP_DELETE = DeleteChar
KP_ENTER = NewLine
SHIFT + KP_ENTER = NewLine
SHIFT+CTRL+UP = IncreasePriority ; increase process priority by 1
SHIFT+CTRL+DOWN = DecreasePriority ; decrease process priority by 1
CTRL+'Q'+CTRL+'P'= ShowPriority
CTRL + '-' = DeleteCurrentBuffer
SHIFT+CTRL+'-' = DeleteWindowAndBuffer
CTRL + 'D' = ScrollDown
CTRL + 'N' = NextError
CTRL + 'P' = PrevError
CTRL + 'R' = ReadFile
CTRL + 'S' = WriteCurrentBuffer
CTRL + 'U' = ScrollUp
CTRL + 'W' = ToggleBackups
CTRL + 'X' = SaveAllAndExit
; These are the standard typable (self-insert) key definitions
'A' = SelfInsert
'B' = SelfInsert
'C' = SelfInsert
'D' = SelfInsert
'E' = SelfInsert
'F' = SelfInsert
'G' = SelfInsert
'H' = SelfInsert
'I' = SelfInsert
'J' = SelfInsert
'K' = SelfInsert
'L' = SelfInsert
'M' = SelfInsert
'N' = SelfInsert
'O' = SelfInsert
'P' = SelfInsert
'Q' = SelfInsert
'R' = SelfInsert
'S' = SelfInsert
'T' = SelfInsert
'U' = SelfInsert
'V' = SelfInsert
'W' = SelfInsert
'X' = SelfInsert
'Y' = SelfInsert
'Z' = SelfInsert
SHIFT + 'A' = SelfInsert
SHIFT + 'B' = SelfInsert
SHIFT + 'C' = SelfInsert
SHIFT + 'D' = SelfInsert
SHIFT + 'E' = SelfInsert
SHIFT + 'F' = SelfInsert
SHIFT + 'G' = SelfInsert
SHIFT + 'H' = SelfInsert
SHIFT + 'I' = SelfInsert
SHIFT + 'J' = SelfInsert
SHIFT + 'K' = SelfInsert
SHIFT + 'L' = SelfInsert
SHIFT + 'M' = SelfInsert
SHIFT + 'N' = SelfInsert
SHIFT + 'O' = SelfInsert
SHIFT + 'P' = SelfInsert
SHIFT + 'Q' = SelfInsert
SHIFT + 'R' = SelfInsert
SHIFT + 'S' = SelfInsert
SHIFT + 'T' = SelfInsert
SHIFT + 'U' = SelfInsert
SHIFT + 'V' = SelfInsert
SHIFT + 'W' = SelfInsert
SHIFT + 'X' = SelfInsert
SHIFT + 'Y' = SelfInsert
SHIFT + 'Z' = SelfInsert
CTRL + 'A' = SelfInsert
CTRL + 'B' = SelfInsert
CTRL + 'C' = SelfInsert
CTRL + 'E' = SelfInsert
CTRL + 'G' = SelfInsert
CTRL + 'H' = SelfInsert
CTRL + 'I' = SelfInsert
CTRL + 'J' = SelfInsert
CTRL + 'K' = SelfInsert
CTRL + 'L' = SelfInsert
CTRL + 'M' = SelfInsert
CTRL + 'O' = SelfInsert
CTRL + 'V' = SelfInsert
CTRL + 'Y' = SelfInsert
CTRL + 'Z' = SelfInsert
'`' = SelfInsert
'1' = SelfInsert
'2' = SelfInsert
'3' = SelfInsert
'4' = SelfInsert
'5' = SelfInsert
'6' = SelfInsert
'7' = SelfInsert
'8' = SelfInsert
'9' = SelfInsert
'0' = SelfInsert
'-' = SelfInsert
'=' = SelfInsert
'[' = SelfInsert
']' = SelfInsert
'\' = SelfInsert
';' = SelfInsert
''' = SelfInsert
',' = SelfInsert
'.' = SelfInsert
'/' = SelfInsert
SHIFT + '`' = SelfInsert
SHIFT + '1' = SelfInsert
SHIFT + '2' = SelfInsert
SHIFT + '3' = SelfInsert
SHIFT + '4' = SelfInsert
SHIFT + '5' = SelfInsert
SHIFT + '6' = SelfInsert
SHIFT + '7' = SelfInsert
SHIFT + '8' = SelfInsert
SHIFT + '9' = SelfInsert
SHIFT + '0' = SelfInsert
SHIFT + '-' = SelfInsert
SHIFT + '=' = SelfInsert
SHIFT + '[' = SelfInsert
SHIFT + ']' = SelfInsert
SHIFT + '\' = SelfInsert
SHIFT + ';' = SelfInsert
SHIFT + ''' = SelfInsert
SHIFT + ',' = SelfInsert
SHIFT + '.' = SelfInsert
SHIFT + '/' = SelfInsert
CTRL + '`' = SelfInsert
CTRL + '1' = SelfInsert
CTRL + '2' = SelfInsert
CTRL + '3' = SelfInsert
CTRL + '4' = SelfInsert
CTRL + '5' = SelfInsert
CTRL + '6' = SelfInsert
CTRL + '7' = SelfInsert
CTRL + '8' = SelfInsert
CTRL + '9' = SelfInsert
CTRL + '0' = SelfInsert
CTRL + '=' = SelfInsert
CTRL + '[' = SelfInsert
CTRL + ']' = SelfInsert
CTRL + '\' = SelfInsert
CTRL + ';' = SelfInsert
CTRL + ''' = SelfInsert
CTRL + ',' = SelfInsert
CTRL + '.' = SelfInsert
CTRL + '/' = SelfInsert
SHIFT + KP_DELETE = SelfInsert ; '.'
SHIFT + KP_INSERT = SelfInsert ; '0'
SHIFT + KP_END = SelfInsert ; '1'
SHIFT + KP_DOWN = SelfInsert ; '2'
SHIFT + KP_PGDN = SelfInsert ; '3'
SHIFT + KP_LEFT = SelfInsert ; '4'
SHIFT + KP_5 = SelfInsert ; '5'
SHIFT + KP_RIGHT = SelfInsert ; '6'
SHIFT + KP_HOME = SelfInsert ; '7'
SHIFT + KP_UP = SelfInsert ; '8'
SHIFT + KP_PGUP = SelfInsert ; '9'
SHIFT + KP_SLASH = SelfInsert ; '/'
SHIFT + KP_STAR = SelfInsert ; '*'
SHIFT + KP_MINUS = SelfInsert ; '-'
SHIFT + KP_PLUS = SelfInsert ; '+'