467
|
1 |
Keyboard ShortCuts reference:
|
499
|
2 |
=============================
|
1115
|
3 |
(see also the HTML online documentation, or the Launcher's "Settings-Keyboard" dialog).
|
467
|
4 |
|
1332
|
5 |
For Smalltalkers, the most useful key first:
|
|
6 |
============================================
|
1339
|
7 |
Pause/Break is the UserInterrupt key: "interrupt & enter debugger"
|
|
8 |
CTRL-. and also CMD-. do the same, for all those used to VW or Squeak
|
1332
|
9 |
|
1057
|
10 |
Attention: Recent Changes:
|
1064
|
11 |
F2 Was changed from CodeCompletion to Rename (for win32 compatibility);
|
1115
|
12 |
If you don't like that, see & edit the "keyboard.rc" file.
|
1064
|
13 |
CTRL-SPACE still works for completion.
|
1057
|
14 |
|
1352
|
15 |
ALT-SPACE snippet insertion has been added (try typing <t><s><ALT-SPACE>)
|
1115
|
16 |
|
|
17 |
|
|
18 |
|
606
|
19 |
Notice1:
|
514
|
20 |
for most systems: the CMD-key is mapped to the left ALT-key.
|
1372
|
21 |
This includes the Mac, where currently the Apple-CMD key is used
|
|
22 |
by Xquartz (which is a little annoying at times).
|
695
|
23 |
|
606
|
24 |
Notice2:
|
514
|
25 |
case matters; CMD-a is different from CMD-A (CMD-Shift-a)
|
695
|
26 |
case matters; Ctrl-a is different from Ctrl-A (Ctrl-Shift-a)
|
957
|
27 |
|
606
|
28 |
Notice3:
|
514
|
29 |
the settings are defined during startup, by reading the
|
1372
|
30 |
file: "keyboard.rc".
|
|
31 |
In our lab, we are working across all kinds of systems (windows,
|
|
32 |
osx, linux), but always in Smalltalk. So the keyboard settings
|
|
33 |
are set to be the same across them. Therefore, some keys behave
|
|
34 |
different from the native OS's standard.
|
|
35 |
If you don't like the settings, change them!
|
467
|
36 |
|
1372
|
37 |
Notice4:
|
|
38 |
You can add your own keyboard macros and/or change the shortKey
|
|
39 |
mapping, by modifying the file "keyboard.rc" (make a save copy first).
|
|
40 |
The either restart ST/X, or file-in the modified one.
|
|
41 |
|
|
42 |
Default Function Key Mapping (see "keyboard.rc" for details):
|
|
43 |
=============================================================
|
471
|
44 |
|
1404
|
45 |
Unix Windows OSX Function
|
957
|
46 |
----------------------------------------------------------------------------------------
|
1404
|
47 |
CMD-a CTRL-s CTRL-s Accept / Save (compile or save)
|
|
48 |
CMD-b CTRL-b CTRL-b Backward search (selection or previous search pattern)
|
|
49 |
CMD-c CTRL-c CTRL-c Copy
|
|
50 |
CMD-d CTRL-d CTRL-d DoIt (evaluate selection)
|
695
|
51 |
|
1404
|
52 |
CMD-f Forward search (selection or previous search pattern)
|
|
53 |
CMD-g CTRL-g CTRL-g Goto lineNumber
|
|
54 |
CMD-h F1 Help (= explain)
|
|
55 |
CMD-i CTRL-q CTRL-q InspectIt
|
|
56 |
CMD-m CMD-m select up to Matching parenthesis
|
|
57 |
CMD-p CTRL-p CTRL-p PrintIt (evaluate selection and paste result)
|
|
58 |
CMD-r CTRL-r CTRL-r Replace
|
|
59 |
CMD-s CTRL-f CTRL-f Search (open search dialog)
|
|
60 |
CMD-v CTRL-v CTRL-v Paste
|
|
61 |
CMD-w CMD-w Select Word under cursor
|
|
62 |
CMD-x CTRL-x CTRL-x Cut
|
|
63 |
CMD-z CMD-z PopUpMenu
|
695
|
64 |
|
1404
|
65 |
CTRL-z CTRL-z CTRL-z Undo
|
|
66 |
CTRL-y CTRL-y CTRL-y Redo
|
961
|
67 |
|
1404
|
68 |
CMD-A CTRL-a CTRL-a Select All
|
|
69 |
CMD-B CTRL-B CTRL-B BrowseIt
|
|
70 |
CMD-L CTRL-F2 Enter/leave Learn-macro mode (CMD-M to replayMacro)
|
|
71 |
CMD-M CMD-F2 Execute keyboard Macro (CMD-L to learn)
|
|
72 |
CMD-S CMD-S Save as (a file)
|
695
|
73 |
|
1404
|
74 |
CMD-Tab Focus next (unless eaten by windowManager)
|
|
75 |
CMD-Cursor Focus next/previous (unless eaten by windowManager)
|
695
|
76 |
|
1404
|
77 |
CMD-. CMD-. CTRL-. Interrupt - enter debugger
|
|
78 |
BREAK BREAK Interrupt - enter debugger
|
|
79 |
CTRL-BRK CTRL-BRK Interrupt - abort operation. do not enter debugger
|
|
80 |
CMD-Y Interrupt - abort operation. do not enter debugger
|
695
|
81 |
|
1404
|
82 |
CTRL-Tab CTRL-Tab CTRL-Tab Backtab
|
|
83 |
Shift-Tab Non-inserting tab (cursor movement only)
|
|
84 |
Shift-Return Non-inserting return (cursor movement only)
|
471
|
85 |
|
1404
|
86 |
HOME HOME Goto begin of line
|
|
87 |
POS1 POS1 Goto begin of line
|
|
88 |
END END Goto end of line
|
695
|
89 |
|
1404
|
90 |
Ctrl-HOME Ctrl-HOME Goto begin of page/text (press twice for begin of text)
|
|
91 |
Ctrl-POS1 Ctrl-POS1 Goto begin of page/text (press twice for begin of text)
|
|
92 |
Ctrl-END Ctrl-END Goto end of page/text (press twice for end of text)
|
|
93 |
CTRL-g CTRL-g CTRL-g Goto line (opens a dialog for the line-number)
|
695
|
94 |
|
1404
|
95 |
Shift-HOME Shift-HOME Select from begin of line
|
|
96 |
Shift-POS1 Shift-POS1 Select from begin of line
|
|
97 |
Shift-END Shift-END Select to end of line
|
695
|
98 |
|
1404
|
99 |
CTRL-W CTRL-W CTRL-W Forward to end-of this / begin of next word
|
|
100 |
CTRL-w CTRL-w CTRL-w Forward to begin next word
|
|
101 |
CTRL-l CTRL-l CTRL-l Goto line
|
695
|
102 |
|
1404
|
103 |
CTRL-A CTRL-A CTRL-A Select from begin of text
|
|
104 |
CTRL-E CTRL-E CTRL-E Select to end of text
|
|
105 |
CTRL-X CTRL-X Flush (trow away) typeahead input
|
695
|
106 |
|
1404
|
107 |
CTRL-2 CTRL-2 CTRL-2 Enclose the selected text in parenthesis / remove parenthesis
|
|
108 |
CTRL-9 CTRL-9 CTRL-9 Enclose the selected text in parenthesis / remove parenthesis
|
695
|
109 |
|
1404
|
110 |
CTRL-SPACE CodeCompletion (in the browser only)
|
|
111 |
ALT-SPACE Insert Abbreviation (try <ALT-SPACE> behind the string 'it')
|
1058
|
112 |
|
1404
|
113 |
CMD-- Open SpecialCharacterWindow (CMD-<minus>)
|
1114
|
114 |
|
1404
|
115 |
F2 F2 F2 Rename (used to be: CodeCompletion)
|
|
116 |
F3 F3 F3 Comment selection
|
|
117 |
F4 F4 F4 Uncomment Selection
|
|
118 |
F6 F6 F6 Selection to Lowercase/Uppercase/UpperCaseFirst (toggle through)
|
|
119 |
CTRL-F6 CTRL-F6 Selection to UpperCase
|
|
120 |
F8 F8 F8 Again (repeat last cut/replace)
|
|
121 |
F9 F9 F9 Undent by 4
|
|
122 |
F10 F10 F10 Indent by 4
|
|
123 |
F11 F11 F11 Undent by 1
|
|
124 |
F12 F12 F12 Indent by 1
|
695
|
125 |
|
1404
|
126 |
PageUp PageUp Backward one page
|
|
127 |
PageDown PageDown Forward one page
|
695
|
128 |
|
1404
|
129 |
Insert Insert Paste
|
|
130 |
Delete Delete Delete the selection
|
|
131 |
Shift-Delete Delete followup spaces up to the next non-space
|
471
|
132 |
|
|
133 |
|
499
|
134 |
|
695
|
135 |
Special (national) Characters:
|
|
136 |
=============================
|
499
|
137 |
|
695
|
138 |
There is a virtual keyboard found on the popUpMenu, under "others"-"others"-"special keys".
|
|
139 |
Keep this view open, beside your editor and click on a character to insert it.
|
|
140 |
|
|
141 |
|
|
142 |
Unix only:
|
|
143 |
==========
|
606
|
144 |
The right CTRL-key is used as a Compose key
|
499
|
145 |
(this can be changed in the "keyboard.rc" file).
|
|
146 |
Composed national characters are entered as a 3-character sequence:
|
606
|
147 |
COMPOSE key1 key2
|
514
|
148 |
press them in sequence - not at the same.
|
499
|
149 |
For example, the french e-accentGrave is entered as:
|
|
150 |
COMPOSE e `
|
695
|
151 |
and the german ä (umlaut-a) is entered as:
|
|
152 |
COMPOSE a "
|
592
|
153 |
|
499
|
154 |
A full list is found in the Method "WindowSensor initializeComposeKeyTable".
|
|
155 |
|
|
156 |
Alternatively, special characters can be copy/pasted from the following list:
|
606
|
157 |
(Notice: you can also use a font-display via the text-editors
|
|
158 |
'more'-'tools'-'specialCharacters'
|
584
|
159 |
menu to insert any special character)
|
|
160 |
|
499
|
161 |
acute:
|
592
|
162 |
Á É Í Ó Ú Ý á é í ó ú ý [ Compose <char> ' ]
|
499
|
163 |
grave:
|
592
|
164 |
À È Ì Ò Ù à è ì ò ù [ Compose <char> ` ]
|
499
|
165 |
circumflex:
|
592
|
166 |
Â Ê Î Ô Û â ê î ô û [ Compose <char> ^ ]
|
499
|
167 |
tilde:
|
606
|
168 |
Ã Õ Ñ ã õ ñ [ Compose <char> ~ ]
|
499
|
169 |
dieresis:
|
592
|
170 |
Ä Ë Ï Ö Ü ä ë ï ö ü ÿ [ Compose <char> " ]
|
499
|
171 |
slash:
|
592
|
172 |
Ø ø [ Compose <char> / ]
|
499
|
173 |
ring:
|
592
|
174 |
Å å [ Compose <char> * ]
|
584
|
175 |
cedille:
|
592
|
176 |
Ç ç [ Compose <char> , ]
|
499
|
177 |
ligatures:
|
592
|
178 |
ß Æ æ [ Compose <char1> <char1> ]
|
499
|
179 |
others:
|
584
|
180 |
Ð Þ þ ð × ÷ ± µ ¬ « » ° º ¹ ² ³ ¼ ½ ¾
|
560
|
181 |
misc:
|
584
|
182 |
[ ] ~ @ { } | \ © ®
|
514
|
183 |
|
|
184 |
---------------------------------------------------------------------------------------------------------
|
|
185 |
This Documents Version: $Revision$
|