Motion
|
Move to the beginning of line
|
|
Move to the end of line
|
|
Move forward a character
|
|
Move back a character
|
|
Move forward a word
|
|
Move backward a word
|
Editing
|
Delete one character at point
|
|
Delete one character backward
|
|
Quoted insert
|
|
Insert a tab character
|
|
Exchange the char before cursor with the character at cursor
|
|
Exchange the word before cursor with the word at cursor
|
|
Uppercase the current word
|
|
Lowercase the current word
|
|
Capitalize the current word
|
Killing and Yanking
|
Kill the text from point to the end of the line
|
|
Kill backward to the beginning of the line
|
|
Kill backward from point to the beginning of the line
|
|
Kill from point to the end of the current word
|
|
Kill the word behind point
|
|
Kill the word behind point, using white space as a word boundary
|
|
Delete all spaces and tabs around point
|
|
Yank the top of the kill ring into the buffer at point
|
|
Rotate the kill ring, and yank the new top
|
Keyboard Macros
|
Begin saving the chars typed into the current keyboard macro
|
|
End saving the chars typed into the current keyboard macro
|
|
Re-execute the last keyboard macro defined
|
Completing
|
Attempt to perform completion on the text before point
|
|
List the possible completions of the text before point
|
|
Insert all completions of the text before point generated by possible-completions
|
Manipulating the History
|
Accept the line regardless of where the cursor is
|
|
Fetch the previous command from the history list
|
|
Fetch the next command from the history list
|
|
Move to the first line in the history
|
|
Move to the end of the input history
|
|
Search backward starting at the current line (incremental)
|
|
Search forward starting at the current line (incremental)
|
|
Search backward using non-incremental search
|
|
Search forward using non-incremental search
|
|
Insert the n-th argument to the previous command at point
|
|
Insert the last argument to the previous command
|
Rectangles
|
Kill the text of the region-rectangle, saving its contents as the "last killed rectangle"
|
|
Save the text of the region-rectangle as the "last killed rectangle"
|
|
Delete the text of the region-rectangle
|
|
Yank the last killed rectangle with its upper left corner at point
|
|
Insert blank space to fill the space of the region-rectangle. This pushes the previous contents of the region-rectangle to the right
|
|
Insert line numbers along the left edge of the region-rectangle. This pushes the previous contents of the region-rectangle to the right
|
|
Clear the region-rectangle by replacing all of its contents with spaces
|
|
Delete whitespace in each of the lines on the specified rectangle, starting from the left edge column of the rectangle
|
|
Replace rectangle contents with string on each line
|
|
Insert string on each line of the rectangle
|
|
Toggle Rectangle Mark mode. When this mode is active, the region-rectangle is highlighted and can be shrunk/grown, and the standard kill and yank commands operate on it
|
Miscellaneous
|
Read and execute the contents of inputrc file
|
|
Abort the current editing command and ring the terminals bell
|
|
If the metafield char x is lowercase run the command that is bound to uppercase char
|
|
Metafy the next character typed. For example, ESC-p is equivalent to Meta-p
|
|
Incremental undo, separately remembered for each line
|
|
Undo all changes made to this line
|
|
Perform tilde expansion on the current word
|
|
Set the mark to the point
|
|
Swap the point with the mark
|
|
Move to the next occurance of current character under cursor
|
|
Move to the previous occurrence of current character under cursor
|
|
Without argument line is commented, with argument uncommented (if it was commented)
|
|
When in vi mode, switch to emacs mode
|
|
When in emacs mode, switch to vi mode
|
|
Specify the digit to the argument
|
Notes
- Based on the cheat sheet from cheat-sheets.org.
- Converted by @erggo.