From c8b29db881f219bcc5ac0f0ebc4c17f4b7708bf8 Mon Sep 17 00:00:00 2001 From: johannst Date: Thu, 19 Mar 2020 20:31:32 +0100 Subject: updated emacs --- src/emacs.md | 27 +++++++++++++++++++++++---- 1 file changed, 23 insertions(+), 4 deletions(-) (limited to 'src/emacs.md') 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 - C-h list possible keymaps with - 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 print command bound to + C-h k describe command bound to + C-h b list buffer local key-bindings + C-h list possible key-bindings with + 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- 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 activate rectangle-mark-mode -- cgit v1.2.3