Compare commits
No commits in common. "4d417328e7fd9ecc7305a6483a41506f66ab6b8c" and "ddf5a7fa7ed5b21193a5bc92d98b681d5fa182a6" have entirely different histories.
4d417328e7
...
ddf5a7fa7e
@ -1,39 +0,0 @@
|
||||
# Emacs Tips
|
||||
|
||||
*Posted 2007-05-22, updated 2021-07-01.*
|
||||
|
||||
These are some emacs keybindings (and other functions) that I once found useful. I've mostly used Sublime Text for the last few years, however.
|
||||
|
||||
## Editing
|
||||
|
||||
`C-[SPC]`: set mark
|
||||
`C-x C-x`: exchange point and mark
|
||||
`C-w`: kill (AKA "cut")
|
||||
`M-w`: kill-ring-save (AKA "copy")
|
||||
`C-y`: yank (AKA "paste")
|
||||
`M-h`: Put region around current paragraph (mark-paragraph).
|
||||
`C-x h`: Put region around the entire buffer (mark-whole-buffer).
|
||||
`C-u C-[SPC]`: Move in mark ring
|
||||
`M-d`: Kill word
|
||||
`M-[DEL]`: Kill word backwards
|
||||
`C-M-k`: Kill the following balanced expression (kill-sexp)
|
||||
|
||||
## Registers
|
||||
|
||||
`C-x r r`: Save position of point in register r (point-to-register).
|
||||
`C-x r j r`: Jump to the position saved in register r (jump-to-register).
|
||||
`C-x r s r`: Copy region into register r (copy-to-register).
|
||||
`C-x r i r`: Insert text from register r (insert-register).
|
||||
|
||||
## Bookmarks
|
||||
|
||||
`C-x r m [RET]`: Set the bookmark for the visited file, at point.
|
||||
`C-x r m bookmark [RET]`: Set the bookmark named bookmark at point (bookmark-set).
|
||||
`C-x r b bookmark [RET]`: Jump to the bookmark named bookmark (bookmark-jump).
|
||||
`C-x r l`: List all bookmarks (list-bookmarks).
|
||||
`M-x bookmark-save`: Save all the current bookmark values in the default bookmark file.
|
||||
|
||||
## Miscellaneous
|
||||
|
||||
``M-` `` shows the menu.
|
||||
`M-x highlight-changes-mode` toggles showing the changes you've made to the file since the last save.
|
@ -2,7 +2,7 @@
|
||||
|
||||
*Posted 2007-05-22; updated 2021-07-01.*
|
||||
|
||||
Note that these instructions are over a decade old. Some documentation may be out of date. :)
|
||||
Note that these instructions are over a decade old. Some things may have changed since then. :)
|
||||
|
||||
## Embedding fonts in PDFs
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user