From 449b66753370d6b64bc9aa7e5c0592ba0fe6f680 Mon Sep 17 00:00:00 2001 From: johannst Date: Wed, 16 Sep 2020 22:23:09 +0000 Subject: deploy: 2e329ad934ef010fd94afe965f14ab895dcb515e --- misc/emacs.html | 283 -------------------------------------------------------- 1 file changed, 283 deletions(-) delete mode 100644 misc/emacs.html (limited to 'misc/emacs.html') diff --git a/misc/emacs.html b/misc/emacs.html deleted file mode 100644 index 64efa58..0000000 --- a/misc/emacs.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - emacs - Notes - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- -
- - - - - - - - - - -
-
-

emacs(1)

-

help

-
  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

-
  package-refresh-contents    refresh package list
-  package-list-packages       list available/installed packages
-
-

window

-
  C-x 0         kill focused window
-  C-x 1         kill all other windows
-  C-x 2         split horizontal
-  C-x 3         split vertical
-
-

yank/paste

-
  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

-
  C-x <SPC>                     activate rectangle-mark-mode
-  M-x string-rectangle <RET>    insert text in marked rect
-
-

mass edit

-
  C-x h                                 mark whole buffer (mark-whole-buffer)
-  M-x delete-matching-line <RET>        delete lines matching regex
-  M-x %                                 search & replace region (query-replace)
-  C-M-x %                               search & replace regex (query-replace-regexp)
-
-

grep

-
  M-x find-grep <RET>           run find-grep result in *grep* buffer
-  n/p                           navigate next/previous match in *grep* buffer
-
-

lisp mode

-
  M-x lisp-interaction-mode     activate lisp mode
-  C-M-x                         evaluate top expr under cursor
-  C-x C-e                       eval-last-sexp
-  C-u C-x C-e                   eval-last-sexp and prints result in current buffer
-
-

narrow

-
  C-x n n               show only focused region (narrow)
-  C-x n w               show whole buffer (wide)
-
-

org

-
  M-up/M-down           re-arrange items in same hierarchy
-  M-left/M-right        change item hierarchy
-  C-RET                 create new item below current
-  C-S-RET               create new TODO item below current
-  S-left/S-right        cycle TODO states
-
-

org source

-
  <s TAB                generate a source block
-  C-c '                 edit source block (in lang specific buffer)
-  C-c C-c               eval source block
-
- -
- - -
-
- - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- cgit v1.2.3