Next: Undo Up: jed Previous: Buffer Name and File Contents

# Basic Editing

Editing with jed is pretty easy-- most keys simply insert themselves. Movement around the buffer is usually done using the arrow keys or page up and page down keys. If `edt.sl` is loaded, the keypads on VTxxx terminals function as well. Here, only the highlights are touched upon (cut/paste operations are not considered ``highlights''). In the following, any character prefixed by the `^` character denotes a Control character. On keyboards without an explicit Escape key, CTRL-[ will most likely generate and Escape character.

A ``prefix argument'' to a command may be generated by first hitting the ESC key, then entering the number followed by pressing the desired key. Normally, the prefix argument is used simply for repetition. For example, to move to the right 40 characters, one would press ESC 4 0 followed immediately by the right arrow key. This illustrates the use of the repeat argument for repetition. However, the prefix argument may be used in other ways as well. For example, to begin defining a region, one would press the CTRL-@ key. This sets the mark and begins highlighting. Pressing the CTRL-@ key with a prefix argument will abort the act of defining the region and to pop the mark.

The following list of useful keybindings assumes that `emacs.sl` has been loaded.

CTRL-L
Redraw screen.

CTRL-/SMALL>_
Undo (Control-underscore, also CTRL-X U).

ESC Q
Reformat paragraph (wrap mode). Used with a prefix argument. will justify the paragraph as well.

ESC N
narrow paragraph (wrap mode). Used with a prefix argument will justify the paragraph as well.

ESC ;
Make Language comment (Fortran and C)

ESC `\`
Trim whitespace around point

ESC !
Execute shell command

ESC $
Ispell word (unix)

CTRL-X ?
Show line/column information.

`
`quoted_insert` -- insert next char as is (backquote key)

ESC S
Center line.

ESC U
Upcase word.

ESC D
Downcase word.

ESC C
Capitalize word.

ESC X
Get M-x minibuffer prompt with command completion

CTRL-X CTRL-B
pop up a list of buffers

CTRL-X CTRL-C
exit jed

CTRL-X 0
Delete Current Window

CTRL-X 1
One Window.

CTRL-X 2
Split Window.

CTRL-X O
Other window.

CTRL-X B
switch to buffer

CTRL-X K
kill buffer

CTRL-X S
save some buffers

CTRL-X ESC
Get `S-Lang>` prompt for interface to the S-Lang interpreter.

ESC .
Find tag (unix ctags compatible)

CTRL-@
Set Mark (Begin defining a region). Used with a prefix argument aborts the act of defining the region and pops the Mark.

Subsections

- Undo
- Marking Text (Point and Mark)
- Tab Issues.
- Searching
- Rectangles
- Sorting

Next: Undo Up: jed Previous: Buffer Name and File Contents