aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--src/emacs.md27
1 files changed, 23 insertions, 4 deletions
diff --git a/src/emacs.md b/src/emacs.md
index 4d59f68..b288fb1 100644
--- a/src/emacs.md
+++ b/src/emacs.md
@@ -2,10 +2,20 @@
## help
```markdown
- C-h f describe function
- C-h b list buffer available keymaps
- <kseq> C-h list possible keymaps with <kseq>
- eg C-x C-h -> list keymaps beginning with C-x
+ C-h ? list available help modes
+ C-h f describe function
+ C-h v describe variable
+ C-h c <KEY> print command bound to <KEY>
+ C-h k <KEY> describe command bound to <KEY>
+ C-h b list buffer local key-bindings
+ <kseq> C-h list possible key-bindings with <kseq>
+ eg C-x C-h -> list key-bindings beginning with C-x
+```
+
+## package manager
+```markdown
+ package-refresh-contents refresh package list
+ package-list-packages list available/installed packages
```
## window
@@ -16,6 +26,15 @@
C-x 3 split vertical
```
+## yank/paste
+```markdown
+ C-<SPACE> set start mark to select text
+ M-w copy selected text
+ C-w kill selected text
+ C-y paste selected text
+ M-y cycle through kill-ring
+```
+
## block/rect
```markdown
C-x <SPC> activate rectangle-mark-mode