It's only recently that I noticed that M-w copied the text to the clipboard. Silly, I know.
Here's some commands I use regularly when editing text:
| key binding | description | emacs command |
|---|---|---|
| C-space | Start selection of region. Everything selected is automatically copied to clipboard. | set-mark-command |
| C-p, C-M-p | Up one line, one block back, respectively | previous-line, backward-list |
| C-n, C-M-n | Down one line, one block forward, respectively | next-line, forward-list |
| C-f, M-f | Forward one letter, forward one word, respectively | forward-char, forward-word |
| C-b, M-b | Back one letter, back one word, respectively | backward-char, backward-word |
| C-w | Cut region to clipboard | kill-region |
| M-w | Copy region to clipboard | kill-ring-save |
| C-y | Paste most recent text from clipboard | yank |
| M-y | Cycle through clipboard history (start with one C-y, then follow with multiple M-y) | yank-pop |
0 comments:
Post a Comment