keyboard.rc
author convert-repo
Sun, 10 Feb 2019 04:31:24 +0000
changeset 1590 a1e0688b2f39
parent 1568 ae79d5416996
child 1597 e6215fb6ec7c
permissions -rw-r--r--
update tags
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"*
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
     2
 * Encoding: iso8859-1
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
     3
 *
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
 * $Header$
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 *
399
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 380
diff changeset
     6
 * MIMEType: application/x-smalltalk-source
5a842f5d7196 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 380
diff changeset
     7
 *
209
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 140
diff changeset
     8
 * ST/X startup configuration file:
22793de5d56e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 140
diff changeset
     9
 *
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 * sample keyboard.rc - file
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
 *
719
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
    12
 * this file defines some mappings for common function keys.
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
    13
 * These definitions used to be in 'private.rc',
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
 * but have been extracted into this separate file to allow easier
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
 * sharing of rc files (users having different private files, but want
54
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    16
 * to use the same keyboard mappings / keyboard macros)
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
 *
719
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
    18
 * A copy of this file can reside in $home/.smalltalk/keyboard.rc or
1127
601cd02e5a4b ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents: 1121
diff changeset
    19
 * in the current directory. After a change, file it in the running st/x,
601cd02e5a4b ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents: 1121
diff changeset
    20
 * using the fileBrowser's fileIn function.
54
802aa9185941 commentary
Claus Gittinger <cg@exept.de>
parents: 41
diff changeset
    21
 *
719
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
    22
 * These are my personal preferrences which may not be
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    23
 * correct for your environment.
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    24
 *
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
    25
 * WARNING:
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    26
 *   please keep the expressions below free from manipulating
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    27
 *   global state - all that should be done here is to set up the current
1497
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
    28
 *   screen's keyboard map.
1535
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    29
 * Reason: in multihead applications, this will be consulted for each
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    30
 * new display screen.
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    31
 *
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    32
 * Notice:
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    33
 *   on some systems, some key-combinations are already taken/reserved
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    34
 *   by the window manager or operating system. In particular, this applies
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    35
 *   to the MaxOSX version, where many CMD-key combinations are already
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    36
 *   eaten by XQuartz or the system. Therefore, you'll find duplicate
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    37
 *   associations where both CTRL-x and CMD-x (and sometimes even ALT-x)
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    38
 *   are assigned to the same logical keyboard function.
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    39
 *
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    40
 * Also Notice:
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    41
 *   keyboard macros are little code-snippets to be executed whenever a
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    42
 *   macro key is pressed. This is done in a two step translation process:
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    43
 *   first the physical key is xlated to a logical key (in the map below),
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    44
 *   then a corresponding macro association is looked up.
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    45
 *   Macros are defined in a separate file named 'keyboardMacros.rc'.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
 *"
1243
1fc6b3f01e48 End chung after initial comment / encoding spec
Stefan Vogel <sv@exept.de>
parents: 1196
diff changeset
    47
!
719
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
    48
Smalltalk fileIn:'keyboardMacros.rc'.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    49
!
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    50
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
    51
"*
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
    52
 * key bindings common to all display types
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
    53
 * use event monitor, to see what the Xserver sends us;
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
    54
 * put display-specific stuff into a d_hostName.rc file.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
    55
 *"
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    56
|map screen|
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    57
402
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    58
screen := Screen current.
f8bad6cf5abc *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 399
diff changeset
    59
map := screen keyboardMap.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
    60
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    61
#(
1313
c286f9b4fd53 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1306
diff changeset
    62
    #Cmd     #Alt
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    63
    #Cmd     #Menu
1472
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
    64
"/    #Cmd     #Mode_switch
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    65
    #Menu    #Appl
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    66
    #Menu    #CtrlAppl
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    67
    #Menu    #CmdAppl
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    68
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    69
"/     #'Hardcopy'     #'Super_R'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    70
    #'Alt'     #'Super_L'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    71
    #'Alt'     #'Hyper_R'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    72
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    73
    #UserInterrupt    #Break      "WIN"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    74
    #UserAbort        #CtrlCancel "WIN: abort window process, but no debugger"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    75
    #UserAbort        #CtrlPause
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    76
    #UserAbort        #CtrlBreak  "X11: abort window process, but no debugger"
1340
65b404d51704 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1330
diff changeset
    77
    #UserAbort        #CmdY
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    78
    #FlushInput       #CtrlX     "flush typeahead input"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    79
    #DestroyView      #CmdCtrlX  "to destroy dead views"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    80
    #DestroyTopView   #CmdCtrlx  "to destroy dead views"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    81
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    82
    #CloseWindowRequest      #CmdF4
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    83
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    84
    #DoIt          #Cmdd          "i e  Cmd-d / Alt-d (sometimes Meta-d)"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    85
    #DoIt          #Ctrld
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    86
    #InspectIt     #Cmdi          "evaluate & inspect result"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    87
    #InspectIt     #Ctrlq
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    88
    #PrintIt       #Cmdp          "evaluate and paste result"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    89
    #PrintIt       #Ctrlp
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    90
    #ReplaceIt     #CmdP          "evaluate and replace selection by result"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    91
    #BrowseIt      #CmdB
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    92
    #BrowseIt      #CtrlB
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    93
    #ImplementorsOfIt      #CtrlI
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    94
    #ImplementorsOfIt      #CmdI
1535
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    95
    "/     #SendersOfIt      #CtrlS
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
    96
    "/     #SendersOfIt      #CmdS
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
    97
1382
e225333e9318 Ctrl-Insert is #Copy, Shift-Insert is #Paset and Alt-Insert is #ToggleInsertMode
Stefan Vogel <sv@exept.de>
parents: 1373
diff changeset
    98
    #ToggleInsertMode  #AltInsert
e225333e9318 Ctrl-Insert is #Copy, Shift-Insert is #Paset and Alt-Insert is #ToggleInsertMode
Stefan Vogel <sv@exept.de>
parents: 1373
diff changeset
    99
    #Copy          #CtrlInsert
e225333e9318 Ctrl-Insert is #Copy, Shift-Insert is #Paset and Alt-Insert is #ToggleInsertMode
Stefan Vogel <sv@exept.de>
parents: 1373
diff changeset
   100
    #Paste         #ShiftInsert
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   101
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   102
    #Copy          #Cmdc          "copy selection to buffer"
1382
e225333e9318 Ctrl-Insert is #Copy, Shift-Insert is #Paset and Alt-Insert is #ToggleInsertMode
Stefan Vogel <sv@exept.de>
parents: 1373
diff changeset
   103
    #Copy          #Ctrlc         "copy selection to buffer"
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   104
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   105
    #Cut           #Cmdx          "cut selection into buffer"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   106
    #Cut           #Ctrlx
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   107
    #Paste         #Cmdv          "paste buffer or external selection"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   108
    #Paste         #Ctrlv
1306
2581c10f1fff removed via FileBrowser
Claus Gittinger <cg@exept.de>
parents: 1279
diff changeset
   109
    #PasteFromHistory         #CmdV          "show paste history"
2581c10f1fff removed via FileBrowser
Claus Gittinger <cg@exept.de>
parents: 1279
diff changeset
   110
    #PasteFromHistory         #CtrlV         "show paste history"
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   111
    #Replace       #Cmdr
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   112
    #Replace       #Ctrlr
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   113
    #Join          #Ctrlj         "join lines"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   114
    #Join          #Cmdj          "join lines"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   115
    #Find          #Cmds          "open searchbox"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   116
    #Find          #Ctrlf
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   117
    #FindNext      #Cmdf          "search fwd for last searchpattern or selection"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   118
    #FindPrev      #Cmdb          "search bwd for last searchpattern or selection"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   119
    #FindPrev      #Ctrlb
1568
ae79d5416996 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1561
diff changeset
   120
    #FindNext      #Altf          "search fwd for last searchpattern or selection"
ae79d5416996 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1561
diff changeset
   121
    #FindPrev      #Altb          "search bwd for last searchpattern or selection"
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   122
    #SelectAll     #CmdA          "that is Alt-shift-a"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   123
    #SelectAll     #Ctrla
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   124
    #GotoLine      #Ctrll
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   125
    #GotoLine      #Ctrlg
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   126
    #SelectWord    #Cmdw          "select word under cursor"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   127
    #Undo          #Ctrlz
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   128
    #Redo          #Ctrly
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   129
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   130
    #Accept        #Cmda
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   131
    #Accept        #Ctrls
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   132
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   133
    #Explain       #Cmde
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   134
    #Explain       #Cmdh
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   135
    #Format        #CmdF              "that is Alt-shift-F"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   136
"/     #Format        #CtrlF         "that is Ctrl-shift-F"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   137
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   138
"/     #DeleteLine    #CtrlX
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   139
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   140
    #NextPage        #Next     "typically labelled PageDown on keyboard"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   141
    #PreviousPage    #Prior    "typically labelled PageUp on keyboard"
931
050dc53ad707 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 927
diff changeset
   142
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   143
"/     #PreviousPage    #Ctrlb    "vi behavior"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   144
"/     #NextPage        #Ctrlf    "vi behavior"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   145
"/     #HalfPageUp      #Ctrlu
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   146
"/     #HalfPageDown    #Ctrld
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   147
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   148
"/ old setting:
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   149
"/     #BeginOfText     #Home     "some prefer to bind #BeginOfLine to #Home"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   150
"/     #EndOfText       #End      "some prefer to bind #EndOfLine to #End"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   151
"/
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   152
"/ new setting:
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   153
    #BeginOfLine     #Home
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   154
    #EndOfLine       #End
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   155
    #BeginOfText     #CtrlHome
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   156
    #EndOfText       #CtrlEnd
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   157
1559
5c0b3eb80e03 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1535
diff changeset
   158
    #SelectFromBeginning #ShiftHome
5c0b3eb80e03 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1535
diff changeset
   159
    #SelectToEnd         #ShiftEnd
5c0b3eb80e03 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1535
diff changeset
   160
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   161
    #EndOfLine       #Ctrle
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   162
    #NextWord        #Ctrlw
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   163
    #EndOfWord       #CtrlW
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   164
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   165
    #NextWord        #CtrlCursorRight
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   166
    #PreviousWord    #CtrlCursorLeft
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   167
1522
64559aa2ab40 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1497
diff changeset
   168
    #OpenWorkspaceOnIt Ctrlo
64559aa2ab40 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1497
diff changeset
   169
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   170
    #ScrollUp        #CtrlCursorUp
1535
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
   171
    #ScrollUp        #CmdCursorUp
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   172
    #ScrollDown      #CtrlCursorDown
1535
a4867da18b14 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1522
diff changeset
   173
    #ScrollDown      #CmdCursorDown
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   174
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   175
    #SearchMatchingParent     #Ctrlm
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   176
    #SelectMatchingParents    #Cmdm
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   177
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   178
    #SelectToEnd              #CtrlE    "that is ctrl-shift-e"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   179
    #SelectFromBeginning      #CtrlA    "that is ctrl-shift-a"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   180
    #ExpandSelectionByLine    #Cmdl     "try multiple Cmd-l's ..."
1472
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   181
    #ExpandSelectionByWord    #CmdW     "try multiple Cmd-w's ..."
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   182
"/    #ExpandSelectionByWord    #CtrlW    "that is ctrl-shift-w"
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   183
1472
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   184
    #ZoomIn     #'Ctrl+'
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   185
    #ZoomOut    #'Ctrl-'
1472
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   186
    #ZoomInAll  #'Ctrl*'
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   187
    #ZoomOutAll #'Ctrlunderscore'
252
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   188
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   189
    "Notice:
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   190
      Cmd-CursorLeft/Right and Alt-CursorLeft/Right
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   191
      are also used by some winmdowmanagers (fvwm)
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   192
      if this is the case on your system, either
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   193
      change the following to use different keys,
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   194
      or change the windowmanagers configuration file
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   195
      (usr/lib/X11/xxxwm/*rc)
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   196
      The above is the reason that the following defines Ctrl-xxx
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   197
      as an alternative (mwm in the INDY also uses the alt-sequences)
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   198
    "
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   199
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   200
    #FocusNext        #CmdCursorRight    "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   201
    #FocusPrevious    #CmdCursorLeft     "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   202
    #FocusNext        #CmdCursorDown     "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   203
    #FocusPrevious    #CmdCursorUp       "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   204
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   205
    #FocusNext        #AltCursorRight    "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   206
    #FocusPrevious    #AltCursorLeft     "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   207
    #FocusNext        #AltCursorDown     "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   208
    #FocusPrevious    #AltCursorUp       "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   209
"/     #FocusNext        #CtrlCursorRight   "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   210
"/     #FocusPrevious    #CtrlCursorLeft    "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   211
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   212
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   213
    #NonInsertingTab     #ShiftTab
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   214
    #BackTab             #CtrlTab
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   215
    #NonInsertingTab     #'ISO_Left_Tab'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   216
"/     #ToggleTabs          #CtrlTab
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   217
1559
5c0b3eb80e03 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1535
diff changeset
   218
    #FocusNext        #AltTab            "experimental"
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   219
    #FocusNext        #CmdTab            "experimental"
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   220
    #FocusPrevious    #'CmdISO_Left_Tab'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   221
"/ map bindValue:#Tab              #'ISO_Left_Tab'
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   222
    #Menu             #Cmdz
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   223
) pairWiseDo:[:symbolic :key |
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   224
	map bindValue:symbolic to:key.
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   225
].
252
5d4a68556e45 ESC & Compose keys on DEC keyboards
Claus Gittinger <cg@exept.de>
parents: 209
diff changeset
   226
1196
72b2cb293f6a abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents: 1127
diff changeset
   227
OperatingSystem isMSWINDOWSlike ifTrue:[
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   228
    map bindValue:#UserAbort        to:#Pause.
1196
72b2cb293f6a abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents: 1127
diff changeset
   229
] ifFalse:[
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   230
    map bindValue:#UserInterrupt    to:#Pause. "X11"
1196
72b2cb293f6a abort key under mswindows (strange)
Claus Gittinger <cg@exept.de>
parents: 1127
diff changeset
   231
].
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   232
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   233
"*
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   234
 * ISO LATIN 1 symbolic characters - map to iso8859-1/unicode values
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   235
 * not all Xservers send those correctly.
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   236
 * As a fall back, dieresis mappings using Alt-key sequences are found at
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   237
 * the end.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   238
 *"
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   239
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   240
#(
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   241
	"/ dieresis characters
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   242
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   243
	Udiaeresis      16rDC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   244
	Adiaeresis      16rC4
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   245
	Odiaeresis      16rD6
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   246
	udiaeresis      16rFC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   247
	adiaeresis      16rE4
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   248
	odiaeresis      16rF6
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   249
	ydiaeresis      16rFF
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   250
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   251
	"/ grave
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   252
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   253
	Agrave          16rC0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   254
	Egrave          16rC8
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   255
	Igrave          16rCC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   256
	Ograve          16rCC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   257
	Ugrave          16rD9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   258
	agrave          16rE0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   259
	egrave          16rE8
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   260
	igrave          16rEC
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   261
	ograve          16rF2
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   262
	ugrave          16rF9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   263
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   264
	"/ acute
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   265
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   266
	Aacute          16rC1
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   267
	Eacute          16rC9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   268
	Iacute          16rCD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   269
	Oacute          16rD3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   270
	Uacute          16rDA
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   271
	Yacute          16rDD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   272
	aacute          16rE1
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   273
	eacute          16rE9
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   274
	iacute          16rED
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   275
	oacute          16rF3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   276
	uacute          16rFA
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   277
	yacute          16rFD
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   278
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   279
	"/ circumflex
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   280
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   281
	Acircumflex     16rC2
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   282
	Ecircumflex     16rCA
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   283
	Icircumflex     16rCE
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   284
	Ocircumflex     16rD4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   285
	Ucircumflex     16rDB
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   286
	acircumflex     16rE2
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   287
	ecircumflex     16rEA
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   288
	icircumflex     16rEE
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   289
	ocircumflex     16rF4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   290
	ucircumflex     16rFB
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   291
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   292
	"/ tilde
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   293
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   294
	Atilde          16rC3
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   295
	Ntilde          16rD1
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   296
	atilde          16rE3
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   297
	ntilde          16rF1
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   298
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   299
	"/ ring
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   300
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   301
	Aring           16rC4
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   302
	aring           16rE4
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   303
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   304
	"/ ligatures
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   305
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   306
	AE              16rC6
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   307
	ae              16rE6
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   308
	ssharp          16rDF
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   309
	oe              16r153
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   310
	OE              16r152
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   311
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   312
	"/ cedilla
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   313
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   314
	Ccedilla        16rC7
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   315
	ccedilla        16rE7
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   316
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   317
	"/ slashed
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   318
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   319
	Ooblique        16rD8
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   320
	oslash          16rF8
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   321
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   322
	"/ misc (if on your keyboard)
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   323
1279
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   324
	Eth             16rD0   "/ some old servers still use this
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   325
	ETH             16rD0
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   326
	eth             16rF0
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   327
	multiply        16rD7
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   328
	Thorn           16rDE   "/ some old servers still use this
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   329
	THORN           16rDE   "/ some old servers still use this
1278
f59f18e1da86 Add missing acute (´)
Stefan Vogel <sv@exept.de>
parents: 1277
diff changeset
   330
	acute           16rEF
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   331
	division        16rF7
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   332
	thorn           16rFE
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   333
	infinity        16r221E
1522
64559aa2ab40 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1497
diff changeset
   334
	"/ ellipsis        16r2026 -- very disturbing
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   335
	endash          16r2013
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   336
	dagger          16r2020
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   337
	approxeq        16r2248
1492
930c21f6559c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1491
diff changeset
   338
	radical         16r221A
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   339
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   340
	guillemotleft   16rAB
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   341
	guillemotright  16rBF
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   342
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   343
	enfilledcircbullet  16r2022
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   344
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   345
	section         16rA7
1279
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   346
	rightdoublequotemark 16rAB
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   347
	leftdoublequotemark  16rBB
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   348
	notsign         16rAC
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   349
	degree          16rB0
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   350
	twosuperior     16rB2
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   351
	threesuperior   16rB3
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   352
	mu              16rB5
1279
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   353
	cedilla         16rB8
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   354
	onesuperior     16rB9
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   355
	onequarter      16rBC
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   356
	onehalf         16rBD
95bd228e786e more keyboard mappings
Stefan Vogel <sv@exept.de>
parents: 1278
diff changeset
   357
	threequarter    16rBE
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   358
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   359
	copyright       16rA9
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   360
	registered      16rAE
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   361
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   362
	Greek_pi        16r03c0
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   363
	Greek_Pi        16r220F
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   364
	Greek_OMEGA     16r03a9
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   365
1277
44aec8b3cb71 Keyboard translation for Euro
Stefan Vogel <sv@exept.de>
parents: 1253
diff changeset
   366
	EuroSign        16r20AC
1491
31d6470e419f *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1472
diff changeset
   367
	yen             16rA5
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   368
) pairWiseDo:[:symbolic :numeric |
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   369
	map bindValue:(Character value:numeric) to:symbolic.
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   370
].
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   371
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   372
"*
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   373
 * need more here (katakana, arabic, cyrillic, greek etc.)
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   374
 *"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   375
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   376
"*
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   377
 * numeric keypad - binding to normal numeric keys
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   378
 *"
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   379
"/ map bindValue:$0 to:#'KP_Insert'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   380
"/ map bindValue:$1 to:#'KP_End'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   381
"/ map bindValue:$2 to:#'KP_Down'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   382
"/ map bindValue:$3 to:#'KP_Next'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   383
"/ map bindValue:$4 to:#'KP_Left'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   384
"/ map bindValue:$5 to:#'KP_Begin'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   385
"/ map bindValue:$6 to:#'KP_Right'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   386
"/ map bindValue:$7 to:#'KP_Home'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   387
"/ map bindValue:$8 to:#'KP_Up'.
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   388
"/ map bindValue:$9 to:#'KP_Prior'.
380
fac7090c0ff7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 374
diff changeset
   389
map bindValue:#Return to:#'KP_Enter'.
fac7090c0ff7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 374
diff changeset
   390
map bindValue:#Delete to:#'KP_Delete'.
92
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   391
dd4108239142 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 89
diff changeset
   392
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   393
"/ remove these lines, if your keyboard has a COMPOSE-key.
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   394
"/ None of our Xdisplays here has one - so we simulate it using CTRL-R ...
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   395
"/ which on some (of our) servers comes pretranslated as Multi_key,
327
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   396
"/ CtrlMulti_key or even Mode_switch.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   397
1436
4776a72a18d9 *** empty log message ***
mawalch
parents: 1382
diff changeset
   398
"/ map bindValue:#Compose     to:#'Control_R'.       "/ the right compose key
455
1bc57270b5d7 added Cmd-Shift-B as BrowseIt shortCut
Claus Gittinger <cg@exept.de>
parents: 442
diff changeset
   399
"/ map bindValue:#Compose     to:#'Control_L'.       "/ the right compose key
327
df575037165e *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 299
diff changeset
   400
map bindValue:#Compose     to:#'Multi_key'.       "/ the right compose key
1436
4776a72a18d9 *** empty log message ***
mawalch
parents: 1382
diff changeset
   401
"/ map bindValue:#Compose     to:#'CtrlMulti_key'.   "/ the right compose key
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   402
"/ map bindValue:#Compose     to:#'Mode_switch'.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   403
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   404
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   405
"/ a kludge: some Xservers send #Delete for both the backspace
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   406
"/ and the Delete key. In this case, we use the Backspace function
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   407
"/ for both keys. If your Xserver does not do this (it should not)
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   408
"/ remove or comment the following 'bindValue:#BackSpace'-line:
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   409
"/
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   410
356
4275f251cb37 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 347
diff changeset
   411
"/ map bindValue:#BackSpace     to:#Delete.
1127
601cd02e5a4b ctrlbackspace is deleteword, not shift-backspace
Claus Gittinger <cg@exept.de>
parents: 1121
diff changeset
   412
map bindValue:#DeleteWordBeforeCursor    to:#CtrlBackSpace.
1253
c4fe978d8015 ALT-Backspace is Delete (for reduced keyboards)
Claus Gittinger <cg@exept.de>
parents: 1243
diff changeset
   413
map bindValue:#Delete                    to:#CmdBackSpace.
86
7cb0bbfd6431 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 76
diff changeset
   414
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   415
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   416
"/ my personal preferences - comment it, if you do not like them
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   417
"/ bind function and other keys as:
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   418
"/
715
529ebe47d1e9 Change default window style to #mswindowsXP
Stefan Vogel <sv@exept.de>
parents: 705
diff changeset
   419
"/ F1            - help
1063
b0ad748f0a18 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   420
"/ F2            - rename (old: completion)
1561
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   421
"/ F3            - search again
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   422
"/ F4            - comment-it
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   423
"/ F5            - uncomment-it
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   424
"/ F6            - paste shell output
715
529ebe47d1e9 Change default window style to #mswindowsXP
Stefan Vogel <sv@exept.de>
parents: 705
diff changeset
   425
"/ F8            - again
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   426
"/ F9            - undent by 4
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   427
"/ F10           - indent by 4
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   428
"/ Control-R     - Compose key
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   429
"/ Break         - UserInterrupt
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   430
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   431
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   432
"/ convenient functions on the keyboard
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   433
"/
942
b96f7604b8e4 *** empty log message ***
fm
parents: 941
diff changeset
   434
map bindValue:#Help             to:#F1.
b96f7604b8e4 *** empty log message ***
fm
parents: 941
diff changeset
   435
map bindValue:#Again            to:#F8.
89
fffab00793be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 88
diff changeset
   436
"/ map bindValue:#PrintIt       to:#Print.      "/ called PrintScreen on most keyboards
fffab00793be *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 88
diff changeset
   437
"/ map bindValue:#InspectIt     to:#Execute.    "/ called SysReq on most keyboards
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   438
922
40de9cc98570 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 918
diff changeset
   439
map bindValue:#SaveAs        to:#CtrlS.
88
95380a1bf862 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 86
diff changeset
   440
map bindValue:#SaveAs        to:#CmdS.
95380a1bf862 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 86
diff changeset
   441
481
e7ac8dea1db0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 460
diff changeset
   442
"/ xxxF5      -> macro ReplaceSelectionByUnixCommandsOutput (unix command output paste)
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   443
"/ CtrlTab -> macro ToggleTabs (toggle 4/8 tabs)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   444
"/ F10     -> macro IndentBy4 (indent by 4)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   445
"/ F9      -> macro UndentBy4 (undent by 4)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   446
"/ F12     -> macro IndentBy1 (indent by 1)
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   447
"/ F11     -> macro UndentBy1 (undent by 1)
1561
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   448
"/ F2      -> rename
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   449
"/ F4      -> commentSelection
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   450
"/ F5      -> uncommentSelection
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   451
481
e7ac8dea1db0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 460
diff changeset
   452
"/ map bindValue:#ReplaceSelectionByUnixCommandsOutput  to:#F5.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   453
"/ map bindValue:#CmdF97 to:#F7.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   454
"/ map bindValue:#CmdF96 to:#F6.
643
Claus Gittinger <cg@exept.de>
parents: 642
diff changeset
   455
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   456
map bindValue:#IndentBy4 to:#F10.
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   457
map bindValue:#UndentBy4 to:#F9.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   458
460
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   459
map bindValue:#IndentBy1 to:#F12.
b0b146033ca1 macro names
Claus Gittinger <cg@exept.de>
parents: 459
diff changeset
   460
map bindValue:#UndentBy1 to:#F11.
292
aab8f8feb824 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 290
diff changeset
   461
726
c3108d9652d8 better F6 macro
Claus Gittinger <cg@exept.de>
parents: 725
diff changeset
   462
map bindValue:#ConvertSelectionToLowercaseOrUppercaseOrUppercaseFirst to:#F6.
728
567654833bf6 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 726
diff changeset
   463
map bindValue:#ConvertSelectionToUppercase to:#CtrlF6.
457
de0d828c363c *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 455
diff changeset
   464
1063
b0ad748f0a18 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 974
diff changeset
   465
map bindValue:#Rename           to:#F2.
1561
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   466
map bindValue:#FindAgain        to:#F3.   "/ search again in same direction
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   467
map bindValue:#CommentSelection to:#F4.
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   468
map bindValue:#UncommentSelection to:#F5.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   469
719
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
   470
map bindValue:#ParenthizeSelection to:#'Cmd('.
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
   471
map bindValue:#UnparenthizeSelection to:#'Cmd)'.
b9ea1b60c2a8 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 716
diff changeset
   472
699
064fa3d9d0a5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 697
diff changeset
   473
map bindValue:#LearnKeyboardMacro   to:#CtrlF2.
064fa3d9d0a5 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 697
diff changeset
   474
map bindValue:#ExecuteKeyboardMacro to:#CmdF2.
1561
6a5fa5c54b29 F3 F4 F5 mappings
Claus Gittinger <cg@exept.de>
parents: 1559
diff changeset
   475
map bindValue:#ExecuteKeyboardMacro to:#CtrlF3.
1373
7363f394fdca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1340
diff changeset
   476
map bindValue:#LearnKeyboardMacro   to:#CmdL.
7363f394fdca *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1340
diff changeset
   477
map bindValue:#ExecuteKeyboardMacro to:#CmdM.
438
182b5f7c4fa7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   478
1318
e9fbcd98cb2b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1313
diff changeset
   479
map bindValue:#CodeCompletion     to:#'Ctrl '.          "that is Ctrl-Space"
e9fbcd98cb2b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1313
diff changeset
   480
map bindValue:#CodeCompletion     to:#'Ctrlspace'.      "mhmh - why is this sent on linux, and the above on windows (must check) ?"
942
b96f7604b8e4 *** empty log message ***
fm
parents: 941
diff changeset
   481
943
f85e3d3635c5 *** empty log message ***
fm
parents: 942
diff changeset
   482
map bindValue:#ExpandAbbreviation to:#'Cmd '.     "that is Alt-Space"
1568
ae79d5416996 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1561
diff changeset
   483
map bindValue:#ExpandAbbreviation to:#nobreakspace.
438
182b5f7c4fa7 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 415
diff changeset
   484
609
f0f51d4a0066 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 586
diff changeset
   485
"/ map bindValue:#PasteBlockEvaluationsOutput to:#CmdV.
487
6d6fbd3a4a46 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 484
diff changeset
   486
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   487
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   488
"/ since some of my machines have german keyboards ;-)
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   489
"/ and I like to be able to edit my files on all machines,
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   490
"/ I need a translation in both ways.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   491
"/ you'd normally not define things in both directions.
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   492
"/
1497
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
   493
"/ actually, these things belong into the server's modmap or
57
3e06b2840c9f structure & commentary
Claus Gittinger <cg@exept.de>
parents: 54
diff changeset
   494
"/ into a display specific d_<displayName>.rc ...
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   495
"/
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   496
"/ german national characters on a US keyboard:
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   497
"/ comment this, if you have a german keyboard.
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   498
"/
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   499
"/map bindValue:(Character value:16rFC) to:#'Cmd['.   "/ u dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   500
"/map bindValue:(Character value:16rE4) to:#'Cmd'''.  "/ a dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   501
"/map bindValue:(Character value:16rF6) to:#'Cmd;'.   "/ o dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   502
"/map bindValue:(Character value:16rDC) to:#'Cmd{'.   "/ U dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   503
"/map bindValue:(Character value:16rC4) to:#'Cmd"'.   "/ A dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   504
"/map bindValue:(Character value:16rD6) to:#'Cmd:'.   "/ O dieresis
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   505
"/map bindValue:(Character value:16rDF) to:#'Cmd-'.   "/ s-sharp
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   506
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   507
"/
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   508
"/ US characters on national keyboards:
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   509
"/ (on many national keyboards, the x-server does NOT correctly
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   510
"/  xlate characters .... on others, it does and you may remove/comment
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   511
"/  the following.)
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   512
"/
1472
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   513
OperatingSystem isOSXlike ifFalse:[
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   514
    map bindValue:$[ to:#'Alt['.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   515
    map bindValue:$] to:#'Alt]'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   516
    map bindValue:$| to:#'Alt|'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   517
    map bindValue:${ to:#'Alt{'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   518
    map bindValue:$} to:#'Alt}'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   519
    map bindValue:$\ to:#'Alt\'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   520
    map bindValue:$~ to:#'Alt~'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   521
    map bindValue:$@ to:#'Alt@'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   522
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   523
    map bindValue:$[ to:#'Cmd['.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   524
    map bindValue:$] to:#'Cmd]'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   525
    map bindValue:$| to:#'Cmd|'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   526
    map bindValue:${ to:#'Cmd{'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   527
    map bindValue:$} to:#'Cmd}'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   528
    map bindValue:$\ to:#'Cmd\'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   529
    map bindValue:$~ to:#'Cmd~'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   530
    map bindValue:$@ to:#'Cmd@'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   531
    map bindValue:$# to:#'Cmd#'.
125a66fb0d16 zoominall/zoomoutall (CTRL-SHIFT-+ and CTRL-SHIFT--)
Claus Gittinger <cg@exept.de>
parents: 1436
diff changeset
   532
].
140
30920131031d *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 138
diff changeset
   533
1497
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
   534
OperatingSystem isOSXlike ifTrue:[
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
   535
    map bindValue:#Delete to:#'AltBackSpace'.
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
   536
].
105389d256fd *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 1492
diff changeset
   537
690
4e7825c093ba *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 684
diff changeset
   538
map bindValue:#UserInterrupt to:#'Cmd.' .     "/ for squeak compatibility
1330
5a64cf920fd2 CTRL-. is also user interrupt
Claus Gittinger <cg@exept.de>
parents: 1318
diff changeset
   539
map bindValue:#UserInterrupt to:#'Ctrl.' .    "/ for vw compatibility
122
6b06631a4bb0 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 92
diff changeset
   540
41
d61cda45c461 separated keyboard macros
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   541
!