A: CommandsCommand names are sequences of letters, with syllables separated by hyphens. Each built-in command is listed below with its default keybinding, both for X windows and Microsoft® Windows®.
Commands can be invoked from editor scripts. In the script language, for each command named c, there is a predefined primitive function named sg:c. For example, the primitive function corresponding to the command forward-character is named sg:forward-character. The primitive function associated with a parameterized command has corresponding parameters. These parameters are documented in Section Built-in Commands.
Key Bindings
The keybindings shown here are the default bindings as supplied in the
default resources file. There are several reasons why these may
differ from your installation: (a) some keys may not exist on your
keyboard, (b) they may be labelled differently on your keyboard, and
(c) the default bindings may have been changed at your site.
On your keyboard, it may be necessary to use Meta rather than Alt. On Sun Type 4 keyboards, the Meta modifier is the key with the (diamond) symbol.
Old-style Hewlett Packard keyboards are a special case. The key labelled Extend Char may be used as the Meta key. However, this key is also set up to generate non-ASCII characters when used in conjunction with other keys. This use conflicts with the use of Ada-ASSURED so it must be turned off. This can be done by following the instructions in the file Ada-ASSURED/files/hpmodmap.
Note that in the following list, Left and Right stand for arrow keys, whereas up and down stand for mouse-up and mouse-down.
advance-after-parse
advance-after-transform
alternate-unparsing-off
alternate-unparsing-on
alternate-unparsing-toggle Alt+E
ascend-to-parent Alt+A
auto-save-off
auto-save-on
auto-save-toggle
auto-scroll-sets
backward-character ^B, Left
backward-kill-word Shift+Alt+H, Shift+Alt+Backspace
backward-paragraph Alt+[
backward-phrase Shift+Alt+^P, Shift+Alt+^Left
backward-phrase-with-optionals Shift+Alt+^B, Shift+F7
backward-subphrase Shift+^P, F7, Shift+Left
backward-subphrase-with-optionals Shift+Alt+Left, ^F7
backward-with-optionals Shift+Alt+Left, ^F7
backward-word Alt+B
beginning-of-file Alt+<, ^Home
beginning-of-line ^A, Home
cd
change-view F3
choose-optional MENU
clear-input
close ^Xc, ^F2
coerce-buffer
command-pane-off
command-pane-on
command-pane-toggle
compile
context-pane-off
context-pane-on
context-pane-toggle
copy-structure Shift+Alt+^W, Alt+Copy
copy-template
copy-text Alt+W, Copy
cut-structure Shift+^W, Alt+Cut
cut-text ^W, Cut, Shift+Delete
delete-buffer ^Xk, ^F6
delete-next-character ^D, Delete
delete-next-word Alt+D, Alt+Delete
delete-other-windows ^X1
delete-previous-character ^H, Backspace
delete-previous-word Alt+H, ^Alt+Backspace
delete-structure Shift+^K, Shift+Alt+Cut
delete-window ^Xd, ^F3
describe-command Shift+F1
describe-context ^F1
describe-key-or-mouse-button
describe-transform
describe-view
duplicate-buffer ^X^2, Shift+F6
elision-off
elision-on
elision-toggle Alt+E
end-of-file Alt+>, ^End
end-of-line ^E, End
eval-buffer
eval-file
eval-selection
eval-string ^ESCAPE
execute-command Alt+X, F4
exit ^C, ^X^C
extend-adjust SELECT+motion, ADJUST+motion
extend-adjust-grab Shift+Alt+SELECT+motion, Shift+Alt+ADJUST+motion
extend-end Shift+^space, SELECT+up, ADJUST+up
extend-end-grab Shift+Alt+SELECT+up, Shift+Alt+ADJUST+up
extend-start ADJUST+down
extend-start-grab Shift+Alt+ADJUST+down
find-definition ^SELECT
find-name Alt+.
find-spec Alt+SELECT
follow-edge SELECT+up
form-paragraph
format
forward-after-parse
forward-character ^F, Right
forward-from-insertion-point RETURN
forward-paragraph Alt+]
forward-phrase Shift+Alt+^N, Shift+Alt+^Right
forward-phrase-with-optionals Shift+Alt+^M, Shift+F8
forward-subphrase Shift+^N, F8, Shift+Right
forward-subphrase-with-optionals Shift+^M, ^F8, Shift+Alt+Right
forward-with-optionals Shift+^M, ^F8, Shift+Alt+Right
forward-word Alt+F
goto-line Alt+G
goto-xline
grep
help-for-editor F1
insert-char
insert-file-structure ^X^I
insert-file-text Alt+I
insert-glyph
insert-special-char
insert-structure Shift+Alt+^Y
kill-shell
kill-text-buffer Alt+^K
kill-to-beginning-of-line
kill-to-end-of-line ^K, ^Delete
kill-to-end-of-paragraph Alt+K
kill-word Shift+Alt+D, Shift+Alt+Delete
left-select
list-buffers ^X^B
load-names
macro-end ^X)
macro-execute ^Xe
macro-start ^X(
multiply ^U
new Shift+F2
newline ^M
newline-and-backup ^O
newline-and-indent ^J, Linefeed
next-error ^X`
next-error-as
next-line ^N, Down
next-name Alt+/
next-page ^V, PgDn
next-text-buffer ^Right
open ^X^F, F2, ^X^R, ^X^V
parse-buffer ^Alt+P
parse-selection Alt+P, F9
parsing-off
parsing-on
parsing-toggle ^F9
paste-structure Shift+^Y, Alt+Paste
paste-template
paste-text ^Y, Insert, Paste, Alt+Y
previous-line ^P, Up
previous-name Alt+,
previous-page Alt+V, PgUp
previous-text-buffer ^Left
print
print-file
print-setup
pwd
redraw-display ^L
repeat-command Alt+R
right-select
save ^Xs
save-all ^X^M
save-as ^X^W
save-enforcement-parameters
save-exit
save-selection-to-file
scroll-one-line-down ^Z
scroll-one-line-up Alt+Z
search ^S, ^R, F5
select-all
select-start ^space, SELECT+down
select-start-grab Shift+Alt+SELECT+down
select-word
set-enforcement-parameters
set-parameters Shift+F4, Props
shell-command Alt+!
show-copyright
show-next-message
show-previous-message
split-current-window ^X2, Shift+F3
status-pane-off
status-pane-on
status-pane-toggle
struct-extend-adjust Shift+Alt+^SELECT+motion, Shift+Alt+^ADJUST+motion
struct-extend-end Shift+Alt+^SELECT+up, Shift+Alt+^ADJUST+up
struct-extend-start
struct-select-start Shift+Alt+^SELECT+down
struct-selection-to-bottom
struct-selection-to-top
structural-search Alt+S, ^F5
switch-to-buffer ^Xb, F6
terminate-input
text-capture Alt+T
tool-pane-off
tool-pane-on
tool-pane-toggle
transpose-characters ^T
tutorial
undo ^X^U, Undo
use-enforcement-parameters
what-line Alt+L
what-xline
write-permission-off
write-permission-on
write-permission-toggle
Commands for Microsoft® Windows®
about
advance-after-parse
advance-after-transform
alternate-unparsing-off
alternate-unparsing-on
alternate-unparsing-toggle Control+Alt+E or Control+Shift+E
arrange-icons
ascend-to-parent Control+Alt+A
auto-save-off
auto-save-on
auto-save-toggle
auto-scroll-sets
backward-character Left Arrow
backward-kill-word Control+Backspace or Control+Alt+Shift+H or Control+Alt+Shift+Backspace
backward-paragraph Control+[ or Control+Alt+[
backward-phrase Control+Shift+F7 or Control+Alt+Shift+P or Control+Alt+Shift+Left Arrow
backward-phrase-with-optionals Shift+F7 or Control+Alt+Shift+B
backward-subphrase F7
backward-subphrase-with-optionals
Alt+Shift+F7 or Alt+Shift+Left Arrow
backward-with-optionals Control+F7
backward-word Control+Left Arrow or Control+Alt+B
beginning-of-file Control+Home or Control+Alt+<
beginning-of-line Home
cascade-windows
cd
change-view F3
choose-optional
clear-input
close
close-other-windows Control+F3
close-window Control+D
coerce-buffer
command-pane-off
command-pane-on
command-pane-toggle
compile
context-pane-off
context-pane-on
context-pane-toggle
copy-structure Control+Shift+C
copy-template
copy-text Control+C
cut-structure Control+Shift+X
cut-text Control+X
delete-buffer
delete-next-character Delete
delete-next-word Control+Alt+D
delete-previous-character Backspace
delete-previous-word Control+Alt+Backspace
delete-structure Control+Shift+K
describe-command Shift+F1
describe-context Control+F1
describe-key-or-mouse-button
describe-menus Alt+F1
describe-transform
describe-view
duplicate-buffer Shift+F6
duplicate-window Shift+F3
elision-off
elision-on
elision-toggle Control+Shift+E or Control+Alt+E
end-of-file Control+End or Control+Alt+>
end-of-line End
eval-buffer
eval-file
eval-selection Control+F2
eval-string Shift+F2
execute-command F2 or Control+Alt+X
exit Control+Q
extend-adjust Select+motion
extend-adjust-grab Shift+Alt+Select+motion
extend-end Select+up
extend-end-grab Shift+Alt+Select+up
extend-start Adjust+down
extend-start-grab Shift+Alt+Adjust+down
find Control+F or F5
find-definition
find-in-files
find-name Control+.
find-spec
follow-edge
format
forward-after-parse
forward-character Right Arrow
forward-from-insertion-point Enter
forward-paragraph Control+] or Control+Alt+]
forward-phrase Control+Shift+F8 or Control+Alt+Shift+N or Control+Alt+Shift+Right Arrow
forward-phrase-with-optionals Shift+F8 or Control+Alt+Shift+M
forward-subphrase F8
forward-subphrase-with-optionals Control+F8 or Alt+Shift+F8 or Alt+Shift+Right Arrow
forward-with-optionals
Control+F8 or Alt+Shift+F8 or Alt+Shift+Right Arrow
forward-word Control+Right Arrow or Control+Alt+F
goto-line Control+G or Control+Alt+G
goto-xline
help-for-editor F1
insert-char
insert-file-structure Control+Shift+I
insert-file-text Control+I or Control+Alt+I
insert-glyph Control+\
insert-special-char
kill-shell
kill-text-buffer Control+Alt+K
kill-to-beginning-of-line Control+Shift+Backspace
kill-to-end-of-line Control+Shift+Delete or Control+K
kill-to-end-of-paragraph Control+Alt+K
kill-word Control+Delete
left-select
list-buffers
load-names
macro-end Control+)
macro-execute Control+E
macro-start Control+(
move-structure Control+Shift+M
multiply Control+U
new Control+N
newline Control+M
newline-and-backup
newline-and-indent Control+J or LineFeed
next-error F4
next-error-as
next-line Down
next-name
next-page Page Down
next-text-buffer Control+Page Down
open Control+O
parse-buffer Shift+F9 or Control+Shift+P
parse-selection F9 or Control+Alt+P
parsing-off
parsing-on
parsing-toggle Control+F9
paste-structure Control+Shift+V
paste-template
paste-text Control+V
previous-line Up Arrow
previous-name
previous-page Page Up
previous-text-buffer Control+Page Up
print Control+P
print-file
print-setup
pwd
redraw-display Control+L
repeat-command Control+R or Control+Alt+R
right-select
save Control+S
save-all Control+Shift+S
save-as Control+Alt+S
save-enforcement-parameters
save-exit
save-selection-to-file
scroll-one-line-down Control+Down Arrow or Control+Alt+Z
scroll-one-line-up Control+Up Arrow or Control+Shift+Z
select-all Control+A
select-start-grab
select-word
set-enforcement-parameters
set-parameters Shift+F4
shell-command Control+! or Control+Alt+!
show-buffer Control+Shift+O or Control+B
show-copyright
show-next-message
show-previous-message
split-current-window Shift+F3
status-pane-off
status-pane-on
status-pane-toggle
struct-extend-adjust
struct-extend-end
struct-extend-start
struct-select-start
struct-selection-to-bottom
struct-selection-to-top
structural-find Control+Shift+F or Control+F5
terminate-input
text-capture Control+T or Control+Alt+T
this-error
this-error-as
tile-windows-horizontal
tile-windows-vertical
tool-pane-off
tool-pane-on
tool-pane-toggle
transpose-characters Control+Shift+T
tutorial
undo Control+Z
use-enforcement-parameters
what-line Control+W or Control+Alt+L
what-xline
write-permission-off
write-permission-on
write-permission-toggle