Next: Scheme Interaction Mode Keyboard
Up: Standard Keyboard and Mouse
Previous: Standard Keyboard and Mouse
When a buffer uses Scheme mode, the keymap
mred:global-scheme-mode-keymap is inserted into the
chain of keymaps from the buffer's
private keymap (before the global keymap). This keymap is created
at system startup time and initialized by
(mred:setup-global-scheme-mode-keymap mred:global-scheme-mode-keymap).
The mred:setup-global-scheme-mode-keymap procedure installs
the following functions into a keymap:
- ``tabify-at-caret'' (key events) -- Tabifies the line containing
the caret.
- ``do-return'' (key events) -- Inserts a carriage return. If
(tabify-on-return?) is not #f, the new line is tabified.
- ``evaluate-buffer'' (key events) -- Evaluates the buffer.
- ``evaluate-region'' (key events) -- Evaluates the current selection.
- ``comment-out'' (key events) -- Comments out all lines touched by the
current selection.
- ``uncomment'' (key events) -- Uncomments all commented lines touched
by the current selection.
- ``remove-sexp'' (key events) -- Deletes the S-expression following the
caret.
- ``backward-sexp'' (key events) -- Moves the caret to before the
S-expression preceding the caret.
- ``forward-sexp'' (key events) -- Moves the caret to after the S-expression
following the caret.
- ``up-sexp'' (key events) -- Moves the caret to before the
non-atomic S-expression containing the caret.
- ``down-sexp'' (key events) -- Moves the caret to inside the next
non-atomic S-expression following the caret.
- ``flash-backward-sexp'' (key events) -- Flashes a match for the
sexpression behind the caret.
- ``flash-forward-sexp'' (key events) -- Flashes a match for the
sexpression ahead of the caret.
- ``select-forward-sexp'' (key events) -- Selects the next S-expression
following the caret.
- ``transpose-sexp'' (key events) -- Swaps the S-expression starting
before the caret and the next S-expression following the caret (without
affecting anything outside the current non-atomic S-expression).
- ``remove-parens-forward'' (key events) -- Removes the parentheses from
the next S-expression following the caret.
and these functions are bound to these keys:
- TAB : ``tabify-at-caret''
- RETURN : ``do-return''
- M-C-c l : ``evaluate-buffer''
- C-c C-r : ``evaluate-region''
- M-C-; : ``comment-out''
- M-C-= : ``uncomment''
- M-C-k : ``remove-sexp''
- M-C-b : ``backward-sexp''
- S-M-C-b : ``select-backward-sexp''
- C-LEFT : ``backward-sexp''
- S-C-LEFT : ``select-backward-sexp''
- M-C-f : ``forward-sexp''
- C-RIGHT : ``forward-sexp''
- M-C-SPACE : ``select-forward-sexp''
- M-C-u : ``up-sexp''
- C-UP : ``up-sexp''
- M-C-d : ``down-sexp''
- C-DOWN : ``down-sexp''
- M-C-p : ``flash-backward-sexp''
- M-C-SPACE : ``select-forward-sexp''
- M-C-t : ``transpose-sexp''
- C-c C-b : ``remove-parens-forward''
Next: Scheme Interaction Mode Keyboard
Up: Standard Keyboard and Mouse
Previous: Standard Keyboard and Mouse
PLT