emacs Mode Commands
Table 2.9 shows a complete list of emacs editing mode commands.
Table B-9. emacs Mode Commands
Command | Meaning |
---|---|
CTRL-A | Move to beginning of line |
CTRL-B | Move backward one character |
CTRL-D | Delete one character forward |
CTRL-E | Move to end of line |
CTRL-F | Move forward one character |
CTRL-G |
Abort the current editing command and ring the terminal bell |
CTRL-J | Same as RETURN |
CTRL-K | Delete (kill) forward to end of line |
CTRL-L | Clear screen and redisplay the line |
CTRL-M | Same as RETURN |
CTRL-N | Next line in command history |
CTRL-O | Same as RETURN, then display next line in history file |
CTRL-P | Previous line in command history |
CTRL-R | Search backward |
CTRL-S | Search forward |
CTRL-T | Transpose two characters |
CTRL-U | Kill backward from point to the beginning of line |
CTRL-V | Make the next character typed verbatim |
CTRL-V TAB | Insert a TAB |
CTRL-W |
Kill the word behind the cursor, using whitespace as the boundary |
CTRL-X / |
List the possible filename completions of the current word |
CTRL-X ~ |
List the possible username completions of the current word |
CTRL-X $ |
List the possible shell variable completions of the current word |
CTRL-X @ |
List the possible hostname completions of the current word |
CTRL-X ! |
List the possible command name completions of the current word |
CTRL-X ( | Begin saving characters into the current keyboard macro |
CTRL-X ) | Stop saving characters into the current keyboard macro |
CTRL-X e | Re-execute the last keyboard macro defined |
CTRL-X CTRL-R | Read in the contents of the readline initialization file |
CTRL-X CTRL-V | Display version information ... |
Get Learning the bash Shell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.