Appendix A. Editor Key Bindings

The editor is a standard Tk text window. Tk implements its own set of editing methods (called key bindings). The bindings below are quoted from [welch], pp 385-387. The first 3 items on the list are specific to AvnFPS.

Table A.1. Key Bindings

Ctrl-uUndo changes.
Ctrl-rRedo changes.
InsertToggles insert/overwrite mode.
Any-KeyInsert normal printing characters.
Button1Sets the insert point, clear the selection, set focus.
Ctrl-Button1Set the insert point without affecting the selection.
Button1-MotionSweep out a selection from the insert point.
Double-Button1Select the word under the mouse.
Triple-Button1Select the line under the mouse.
Shift-Button1Adjust the end of selection closest to the mouse.
Shift-Button1-MotionContinue to adjust the selection.
Button2Paste the selection, or set the scrolling anchor.
Button2-MotionScroll the window.
Left or Ctrl-bMove the cursor left one character. Clear selection.
Shift-LeftMove the cursor and extend the selection.
Ctrl-LeftMove the cursor by words. Clear the selection.
Ctrl-Shift-LeftMove the cursor by words. Extend the selection.
Right or Ctrl-fRight bindings are analogous to Left bindings.
Alt-b or AltSame as Ctrl-Left, Ctrl-Right.
Up or Ctrl-pMove the cursor up one line. Clear the selection.
Ctrl-UpMove the cursor by paragraph which are group of lines separated by a blank line.
Ctrl-Shift-UpMove the cursor by paragraph. Extend selection.
Down or Ctrl-nAll Down bindings are analogous to Up bindings.
PgUp, PgDnMove the cursor by one screen. Clear the selection.
Shift-PgUp, Shift-PgDnMove the cursor by one screen. Extend the selection.
Home or Ctrl-aMove the cursor to line start. Clear the selection.
Shift-HomeMove the cursor to line start. Extend the selection.
End or Ctrl-eMove the cursor to line end. Clear the selection.
Shift-EndMove the cursor to line end. Extend the selection.
Ctrl-HomeMove the cursor to the beginning of text. Clear the selection.
Ctrl-EndMove the cursor to the beginning of text. Extend the selection.
Ctrl-/Select everything in the text widget.
Ctrl-\Clear the selection.
DeleteDelete the selection, if any. Otherwise delete the character to the right of the cursor.
Backspace or Ctrl-hDelete the selection, if any. Otherwise delete the character to the left of the cursor.
Ctrl-dDelete character to the right of the cursor.
Alt-dDelete word to the right of the cursor.
Ctrl-kDelete from cursor to the end of the line. If you are at the end of the line, delete the newline character.
Ctrl-oInsert a newline but do not advance the cursor.
Alt-DeleteDelete the word to the left of the cursor.
Ctrl-tTranspose the characters on either side of the cursor.