Cheat Sheet
Terminal ๐︎
This section summarizes the comprehensive cheat sheet readline.
Moving ๐︎
CTRL-F: Move forward by one character.CTRL-B: Move backward by one character.ALT-F: Move forward by one word.ALT-B: Move backward by one word.CTRL-A: Move to the beginning of the line.CTRL-E: Move to the end of the line.
Editing ๐︎
CTRL-K: Delete all characters after cursor position.CTRL-U: Delete the entire line.CTRL-D: Delete the character on the cursor.CTRL-Y: Paste killed text.ALT-W
Undo ๐︎
CTRL-_: Undo changes.
Spacemacs ๐︎
For full cheat sheet, visit this webpage
Navigation ๐︎
{|}: Move by one paragraph.[[|]]: Move by one function.g ;: Back to last edit location.g f: Go to file under cursor.
Substitution ๐︎
:s/<old>/<new>/g: Substitute within current line.:%s/<old>/<new>/g: Substitute within buffer.