# Table of Contents 1. [Installation](#installation) 2. [Packages](#packages) 1. [Org](#org) 1. [HTML export](#export-html) 2. [LaTeX export](#export-latex) 3. [Article export (HTML and LaTeX)](#export-article) 2. [Multiple cursors](#multiple-cursors) 3. [Other packages](#other-packages) 3. [Information](#information) 4. [Errors](#errors) 5. [TODOs](#todos) This is an ongoing evolution of Emacs configuration files, inspired by a bunch of online resources. # Installation Run one of the following install script commands (using curl, wget or fetch). sh -c "$(curl -fsSL http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" sh -c "$(wget -O- http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" sh -c "$(fetch -o - http://gitea.weseng.de/daniel/emacs/raw/master/scripts/install.sh)" Installation path is `~/.config/emacs`. See details and other installed linux packages as requirements inside `sripts/install.sh`. # Packages
| M-> | end-of-buffer | |
| M-< | beginning-of-buffer | |
| C-x h | mark-whole-buffer | mark the whole buffer |
| C-x TAB | indent-rigidly | indent selected region |
| C-x RET f | set-buffer-file-coding-system | e. g. set to utf-8 |
| decode-coding-region | e. g. decode to utf-8 (郭富城Aaron Kwok) | |
| diff-buffer-with-file | show a diff between buffer and file | |
| C-h v | counsel-describe-variable | help text of variable |
| C-h f | counsel-describe-funtion | help text of function |
| C-r | query-replace-regexp | replace text. (former isearch-backward) |
| C-x C-b | ibuffer | list buffers (former list-buffers) |
| C-x | | toggle-window-split | toggle horizontal/vertical 2 window split |
| M-up | move-line-up | move current line up |
| M-down | move-line-down | move current line down |
| mouse-6 | scroll right | |
| mouse-7 | scroll left | |
| mouse-8 | previous-buffer | |
| mouse-9 | next-buffer |
| C-c | | org-table-create-or-convert-from-region | convert seperator 1. TAB, 2. comma, 3. space |
| C-u C-c | | org-table-create-or-convert-from-region | convert using comma (CSV) seperator |
| C-u C-u C-c | | org-table-create-or-convert-from-region | convert using TAB |
| C-u N C-c | | org-table-create-or-convert-from-region | convert using N spaces |
| C-u REGEX C-c | | org-table-create-or-convert-from-region | convert using regex to match seperator |
| C-c C-x \ | org-toggle-pretty-entries | e. g. displays \pm as ± |
| Org table | ||
| S-right | org-shiftright | move a single cell right |
| S-left | org-shiftleft | move a single cell left |
| C-c SPC | org-table-blank-field | clear cell |
| Org src block | ||
| C-c C-v t | org-babel-tangle | create a file with the content of the block, use in header: :tangle filename |
| Org export | ||
| f5 | in org export to html | |
| f6 | in org export to LaTeX |
| M-m s m a | mc/mark-all-dwim | try to mark all at point |
| C-v | jump to next cursor | |
| M-v | jump to previous cursor | |
| C-’ | hide/unhide lines without a cursor |