{Emacs Bindings
If you've chosen `Emacs Bindings' on the jstools Global Preferences panel, you can use the following keyboard commands to edit text (in large text windows, and also in one­line text fields, except as noted):

Control-d - delete the character after the insertion point

Control-b or Left arrow - move one character left
Control-f or Right arrow - move one character right

Control-p or Up arrow - move one line up (1)
Control-n or Down arrow - move one line down (1)

Control-a or Home - move to the beginning of the line
Control-e or End - move to the end of  the line

Esc v or Page Up - scroll back one screenful (1)
Control-v or Page Down - scroll forward one screenful (1)

Esc < - move to the begining of the document (1)
Esc > - move to the end of the document (1)

Esc b - move one word left (to the beginning of the word)
Esc f - move one word right (to the end of the word)

Delete or Backspace - delete the character before the insertion point
Control-h also deletes the character before the insertion point (unlike Emacs itself)

Control-d - delete the character after the insertion point

Esc Delete or Esc Backspace - delete the word before the insertion point
Esc d - delete the word after the insertion point

Esc Spacebar - delete any tabs and spaces around the insertion point, and insert a single space

Control-k - delete from the insertion point to the end of the line, or, if the insert point is at the end of the line, deletes the newline, as in Emacs
Control-w - delete the (highlighted) selection

Control-slash - select the entire contents

Control-backslash - clear the selection

Control-y inserts whatever you most recently deleted with Control-k or Control-w at the insertion point.  Multiple lines deleted with Control-k will be inserted together. (1)

Control-q causes the next character to be inserted literally, even if it is a control character.

Control-space or Control-@ sets the Emacs mark, kind of like a bookmark. (1) Control-x Control-x (that's two Control-xes in sequence) replaces the current mark with the current position of the insert point and moves to the last mark you set, so you can move back and forth between two places in a document. (1)

Esc followed by a number sets a repeat count; the next command will be repeated that many times.  Control-g cancels a pending repeat count.  Control-u sets the count to four, or multiplies it by four, as in Emacs. (1)

Footnote
(1) Only available in multi­line text windows

See Also
	Mouse Bindings
	Basic Bindings
	vi Bindings
	Compose­Key Combinations

Future Directions
* Esc b and Esc e are sorely lacking.

* I'd like to support incremental searching.

* I'd like to support a real kill ring.

* I'd like to support keyboard macros.

Please feel free to tell me (at <js@aq.org>) what crucial Emacs keyboard bindings I've left out; I'm sure there are a lot.

} {{{jdoc:xref:link {2.37 2.67 9.41 9.44 10.45 10.48 15.45 15.48 16.54 16.57 18.45 18.48 19.40 19.43 41.171 41.174 45.73 45.76 45.307 45.310 47.214 47.217 53.1 53.15 54.1 54.15 55.1 55.12 56.1 56.25}} {jdoc:anchor:anchorname {50.0 50.3}} {richtext:font:roman {2.0 2.41 2.48 4.0 4.9 6.0 6.9 6.13 6.23 7.0 7.9 7.13 7.24 9.0 9.9 9.13 9.21 10.0 10.9 10.13 10.23 12.0 12.9 12.13 12.17 13.0 13.9 13.13 13.16 15.0 15.5 15.9 15.16 16.0 16.9 16.13 16.22 18.0 18.5 19.0 19.5 21.0 21.5 22.0 22.5 24.0 24.6 24.10 24.19 25.0 25.9 27.0 27.9 29.0 29.10 29.14 29.27 30.0 30.5 32.0 32.12 34.0 34.9 35.0 35.9 37.0 37.13 39.0 39.17 41.0 41.9 41.58 41.67 41.71 41.80 41.134 41.143 43.0 43.9 45.0 45.13 45.17 45.26 45.42 45.46 45.77 45.86 45.87 45.96 45.109 45.118 47.0 47.3 47.98 47.107 47.139 47.150 49.0 50.0 52.0 53.0 53.1 53.15 54.1 54.15 55.1 55.12 56.1 56.25 57.0 59.0 59.2 59.7 59.12 59.17 67.32 67.43 68.0}} {richtext:font:italic {45.42 45.46}} {richtext:font:bold {2.41 2.48 4.0 4.9 6.0 6.9 6.13 6.23 7.0 7.9 7.13 7.24 9.0 9.9 9.13 9.21 10.0 10.9 10.13 10.23 12.0 12.9 12.13 12.17 13.0 13.9 13.13 13.16 15.0 15.5 15.9 15.16 16.0 16.9 16.13 16.22 18.0 18.5 19.0 19.5 21.0 21.5 22.0 22.5 24.0 24.6 24.10 24.19 25.0 25.9 27.0 27.9 29.0 29.10 29.14 29.27 30.0 30.5 32.0 32.12 34.0 34.9 35.0 35.9 37.0 37.13 39.0 39.17 41.0 41.9 41.58 41.67 41.71 41.80 41.134 41.143 43.0 43.9 45.0 45.13 45.17 45.26 45.77 45.86 45.87 45.96 45.109 45.118 47.0 47.3 47.98 47.107 47.139 47.150 59.2 59.7 59.12 59.17}} {richtext:font:bolditalic {53.1 53.15 54.1 54.15 55.1 55.12 56.1 56.25 57.0 58.0}} {richtext:font:typewriter {67.32 67.43}} {richtext:font:heading0 {1.0 2.0}} {richtext:font:heading1 {49.0 50.0 52.0 53.0 58.0 59.0}} {jdoc:link:panels/prefs.jdoc {2.37 2.67}} {jdoc:link:#(1) {9.41 9.44 10.45 10.48 15.45 15.48 16.54 16.57 18.45 18.48 19.40 19.43 41.171 41.174 45.73 45.76 45.307 45.310 47.214 47.217}} {jdoc:anchorname:(1) {50.0 50.3}} {jdoc:link:jstools/bindbasic.jdoc {54.1 54.15}} {jdoc:link:jstools/bindvi.jdoc {55.1 55.12}} {jdoc:link:jstools/bindmouse.jdoc {53.1 53.15}} {jdoc:link:jstools/bindcompose.jdoc {56.1 56.25}}} {{richptr 5.0} {abbrevstart 32.90} {matchend 4.0} {abbrevend 33.0} {insert 1.0} {emacs_mark 25.54} {anchor 33.0} {matchstart 4.0} {current 1.0}}}