tpad

[ Intro | Download | Docs | How to install/upgrade | Bugs | Notes for qvwm users | Contributing | Mirrors ]

help

Key bindings

Notes:

related to primary selection

to paste the primary selection

The Insert key inserts the primary selection, at the position of the insertion cursor. [with mouse]

to set the selection anchor

The Select key and Control-Space set the selection anchor to the position of the insertion cursor. They don't affect the current selection.

to adjust the selection

Shift-Select and Control-Shift-Space adjust the selection to the current position of the insertion cursor, selecting from the anchor to the insertion cursor if there was not any selection previously. [with mouse]

to select all the text

Control-5 (keypad) or Control-/ selects the entire contents of the widget.

to clear selection

Control-\ clears any selection in the widget.

to delete the selection

The Delete key deletes the selection, if there is one in the widget. If there is no selection, it deletes the character to the right of the insertion cursor (as Control-d does). The Backspace key also deletes the selection, if there is one in the widget. If there is no selection, it deletes the character to the left of the insertion cursor.

related to the clipboard selection

to copy the selection to the clipboard

The F16 key (labelled Copy on many Sun workstations) or Meta-w or Control-c copies the selection in the widget to the clipboard, if there is a selection.

to cut the selection to the clipboard

The F20 key (labelled Cut on many Sun workstations) or Control-w or Control-x copies the selection in the widget to the clipboard and deletes the selection. If there is no selection in the widget then these keys have no effect.

to paste the selection of the clipboard

The F18 key (labelled Paste on many Sun workstations) or Control-y or Control-v inserts the contents of the clipboard at the position of the insertion cursor.

to move the the insertion cursor

[with mouse]

by characters

The Left and Right keys move the insertion cursor one character to the left or right; they also clear any selection in the text. Control-b behave the same as Left, while Control-f doesn't go Right anymore. Instead it is now binded to call the Find dialog. If Left or Right is typed with the Shift key down, then the insertion cursor moves and the selection is extended to include the new character.

by words

Control-Left and Control-Right move the insertion cursor by words, and Control-Shift-Left and Control-Shift-Right move the insertion cursor by words and also extend the selection. Meta-b and Meta-f behave the same as Control-Left and Control-Right, respectively.

by lines

The Up and Down keys move the insertion cursor one line up or down and clear any selection in the text. If Up or Right is typed with the Shift key down, then the insertion cursor moves and the selection is extended to include the new character. Control-p behaves the same as Up.

by paragraphs

Control-Up and Control-Down move the insertion cursor by paragraphs (groups of lines separated by blank lines), and Control-Shift-Up and Control-Shift-Down move the insertion cursor by paragraphs and also extend the selection.

by screenfuls

The Next and Prior keys move the insertion cursor forward or backwards by one screenful and clear any selection in the text. If the Shift key is held down while Next or Prior is typed, then the selection is extended to include the new characters.

to the beginning of the line

Home and Control-a move the insertion cursor to the beginning of its line and clear any selection in the widget. Shift-Home moves the insertion cursor to the beginning of the line and also extends the selection to that point.

to the end of the line

End and Control-e move the insertion cursor to the end of the line and clear any selection in the widget. Shift-End moves the cursor to the end of the line and extends the selection to that point.

to the beginning of the text

Control-Home and Meta-< move the insertion cursor to the beginning of the text and clear any selection in the widget. Control-Shift-Home moves the insertion cursor to the beginning of the text and also extends the selection to that point.

to the end of the text

Control-End and Meta-> move the insertion cursor to the end of the text and clear any selection in the widget. Control-Shift-End moves the cursor to the end of the text and extends the selection to that point.

to scroll right or left by one page

Control-Next and Control-Prior scroll the view right or left by one page without moving the insertion cursor or affecting the selection.

to delete till the end of the line

Control-k deletes from the insertion cursor to the end of its line; if the insertion cursor is already at the end of a line, then Control-k deletes the newline character.

to reverse the order of two chars

Control-t reverses the order of the two characters to the right and left of the insertion cursor or the two ones to the left if the insertion cursor is at the end of a line. This is useful to quickly correct typing mistakes.

to undo/reapplay an edit action
if maxundo = 1
Control-z (and Control-underscore on UNIX when the option variable tk_strictMotif is true) toggles between undoing and reapplying the last edit action. Does nothing is the text hasn't been modified.
if maxundo != 1
Control-z (and Control-underscore on UNIX when tk_strictMotif is true) undoes the last edit action. Does nothing if the undo stack is empty. Control-r or Control-Z (or Control-y on Windows) reapplies the last undone edit action. Does nothing if the redo stack is empty.
to split a line

Control-o opens a new line by inserting a newline character in front of the insertion cursor without moving the insertion cursor.

[ Return to Contents ]

SourceForge.net Logo Valid HTML 4.01! Petition for a Software Patent Free Europe

Last modified: Sunday, 21-Dec-2014 23:37:54 UTC