Emacs: Select Text (mark and region)
Select Text
set-mark-command
【Ctrl+Space】 This sets a mark.- Move cursor anywhere.
The last marked position to current cursor position is the text selection, called region or active region. (cursor position is called point)
Move Cursor to the Other End of Selection (Swap Mark and Point)
exchange-point-and-mark
【Ctrl+x Ctrl+x】
Cancel Selection
press Ctrl+g to cancel selection. (aka, make region inactive.)
Emacs, Copy Paste
- Emacs: Select Text (mark and region)
- Emacs: Copy Paste, kill-ring
- Emacs Init: Standard Copy Cut Paste Keys
- Emacs: Copy Current Line If No Selection 🚀
- Emacs: Copy Buffer or Selection 🚀
- Emacs: Paste or Paste Previous 🚀
- Emacs: Show Copy History (kill-ring) 🚀
- Emacs: Copy to Register
- Emacs: Copy to Register 1 🚀
- Emacs: Append/Clear Register 1 🚀