Here is a complete list of all emacs editing mode commands. Some of these, such as "ESC [ A," represent ANSI standard terminal arrow key sequences; they were added for ksh93h.
| Command | Meaning | 
|---|---|
| CTRL-A | Move to beginning of line | 
| CTRL-B | Move backward one character without deleting | 
| CTRL-C | Capitalize character after point | 
| CTRL-D | Delete one character forward | 
| CTRL-E | Move to end of line | 
| CTRL-F | Move forward one character | 
| CTRL-I (TAB) | Do filename completion on current word (starting with ksh93h)  | 
| CTRL-J | Same as ENTER. | 
| CTRL-K | Delete ("kill") forward to end of line | 
| CTRL-L | Redisplay the line | 
| CTRL-M | Same as ENTER | 
| CTRL-N | Next line | 
| CTRL-O | Same as ENTER, then display next line in history file | 
| CTRL-P | Previous line | 
| CTRL-R | Search backward | 
| CTRL-T | Transpose the two characters on either side of point | 
| CTRL-U | Repeat the following command four times | 
| CTRL-V | Print the version of the Korn shell | 
| CTRL-W | Delete ("wipe") all characters between point and mark  | 
| CTRL-X CTRL-E | Invoke the emacs program on the current command  | 
| CTRL-X CTRL-X | Exchange point and mark | 
| CTRL-Y | Retrieve ("yank") last item deleted | 
| CTRL-] x | Search forward for x, where x is any character | 
| CTRL-@ | Set mark at point | 
| DEL | Delete one character backward | 
| CTRL-[ | Same as ESC (most keyboards) | 
| ESC b | Move one word backward | 
| ESC c | Change word after point to all capital letters | 
| ESC d | Delete one word forward | 
| ESC f | Move one word forward | 
| ESC h | Delete one word backward | 
| ESC l | Change word after point to all lowercase letters | 
| ESC p | Save characters between point and mark as if deleted | 
| ESC CTRL-H | Delete one word backward | 
| ESC CTRL-] x | Search backward for x, where x is any character  | 
| ESC SPACE | Set mark at point | 
| ESC # | Insert line in history file for future editing | 
| ESC DEL | Delete one word backward | 
| ESC < | Move to first line of history file | 
| ESC > | Move to last line of history file | 
| ESC . | Insert last word in previous command line after point | 
| ESC _ | Same as above | 
| ESC ESC | Do filename/command/variable completion on current word | 
| ESC * | Do filename/command/variable expansion on current word | 
| ESC = | Do filename/command/variable listing on current word | 
| ESC [ A | Previous line (ksh93h and newer) | 
| ESC [ B | Next line (ksh93h and newer) | 
| ESC [ C | Move forward one character (ksh93h and newer) | 
| ESC [ D | Move backward one character (without deleting) (ksh93h and newer) | 
| ESC [ H | Move to beginning of line (ksh93h and newer) | 
| ESC [ Y | Move to end of line (ksh93h and newer) | 
| Kill | The stty(1) kill character, often CTRL-U or @ or CTRL-X. This erases everything on the line. Typing it twice toggles "line feed" mode, which issues a line-feed character to start over on a new line. This is appropriate for paper-only terminals  | 
Copyright © 2003 O'Reilly & Associates. All rights reserved.