Learning the Korn Shell

Learning the Korn ShellSearch this book
Previous: B.6 Typeset OptionsAppendix B
Reference Lists
Next: B.8 Vi Control Mode Commands
 

B.7 Emacs Mode Commands

Here is a complete list of all Emacs editing mode commands.
CommandMeaning
CTRL-AMove to beginning of line
CTRL-BMove backward one character (without deleting)
CTRL-CCapitalize character after point
CTRL-DDelete one character forward
CTRL-EMove to end of line
CTRL-FMove forward one character
CTRL-JSame as RETURN.
CTRL-KDelete ("kill") forward to end of line
CTRL-LRedisplay the line
CTRL-MSame as RETURN
CTRL-NNext line
CTRL-OSame as RETURN, then display next line in history file
CTRL-PPrevious line
CTRL-RSearch backward
CTRL-TTranspose two characters
CTRL-URepeat the following command four times
CTRL-VPrint the version of the Korn shell
CTRL-W

Delete ("wipe") all characters between point and mark (see below)

CTRL-YRetrieve ("yank") last item deleted
CTRL-X CTRL-XExchange point and mark
CTRL-] xSearch forward for x, where x is any character
DELDelete one character backward
CTRL-[Same as ESC (most keyboards)
ESC bMove one word backward
ESC cChange word after point to all capital letters
ESC dDelete one word forward
ESC fMove one word forward
ESC hDelete one word backward
ESC lChange word after point to all lowercase letters
ESC pSave characters between point and mark as if deleted
ESC CTRL-HDelete one word backward
ESC CTRL-]xSearch backward for x, where x is any character
ESC SPACESet mark at point
ESC #Insert line in history file for future editing
ESC DELDelete 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 ESCDo filename completion on current word
ESC *Do filename expansion on current word
ESC =Insert line in history file for future editing


Previous: B.6 Typeset OptionsLearning the Korn ShellNext: B.8 Vi Control Mode Commands
B.6 Typeset OptionsBook IndexB.8 Vi Control Mode Commands

The UNIX CD Bookshelf NavigationThe UNIX CD BookshelfUNIX Power ToolsUNIX in a NutshellLearning the vi Editorsed & awkLearning the Korn ShellLearning the UNIX Operating System