update readme

This commit is contained in:
2022-01-11 01:07:01 +01:00
parent 94d72170d0
commit 50fd2b06ed
2 changed files with 56 additions and 172 deletions

163
README.md
View File

@@ -36,143 +36,26 @@ installed linux packages as requirements inside `sripts/install.sh`.
# Packages # Packages
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> General key bindings and functions
<caption class="t-above"><span class="table-number">Table 1:</span> General key bindings and functions</caption>
<colgroup> - `M->` (`end-of-buffer`)
<col class="org-left" /> - `M-<` (`begin-of-buffer`)
- `C-x b` (`counsel-switch-buffer`)
<col class="org-left" /> - `C-x |` (`toggle-window-split`) toggle horizontal/vertical of 2 window split
- `C-x h` (`mark-whole-buffer`)
<col class="org-left" /> - `C-x TAB` (`indent-rigidly`) indent lines in the region
</colgroup> - `C-r` (`query-replace-regexp`) replace text
<tbody> - `M-<up>` (`move-line-up`)
<tr> - `M-<down>` (`move-line-down`)
<td class="org-left">M-&gt;</td> - `C-x RET f` (`set-buffer-file-coding-system`) e.g. set to =utf-8
<td class="org-left">end-of-buffer</td> - (`decode-coding-region`) e.g. decode to `utf-8` (郭富城Aaron Kwok)
<td class="org-left">&#xa0;</td> - (`diff-buffer-with-file`) show a diff between buffer (current state) and file (saved state)
</tr> - `C-h f` (`helpful-callable`)
- `C-h v` (`helpful-variable`)
- `mouse-6` scroll right
<tr> - `mouse-7` scroll left
<td class="org-left">M-&lt;</td> - `mouse-8` (`previous-buffer`)
<td class="org-left">beginning-of-buffer</td> - `mouse-9` (`next-buffer`)
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">C-x h</td>
<td class="org-left">mark-whole-buffer</td>
<td class="org-left">mark the whole buffer</td>
</tr>
<tr>
<td class="org-left">C-x TAB</td>
<td class="org-left">indent-rigidly</td>
<td class="org-left">indent selected region</td>
</tr>
<tr>
<td class="org-left">C-x RET f</td>
<td class="org-left">set-buffer-file-coding-system</td>
<td class="org-left">e. g. set to utf-8</td>
</tr>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">decode-coding-region</td>
<td class="org-left">e. g. decode to utf-8 (郭富城Aaron Kwok)</td>
</tr>
<tr>
<td class="org-left">&#xa0;</td>
<td class="org-left">diff-buffer-with-file</td>
<td class="org-left">show a diff between buffer and file</td>
</tr>
<tr>
<td class="org-left">C-h v</td>
<td class="org-left">counsel-describe-variable</td>
<td class="org-left">help text of variable</td>
</tr>
<tr>
<td class="org-left">C-h f</td>
<td class="org-left">counsel-describe-funtion</td>
<td class="org-left">help text of function</td>
</tr>
<tr>
<td class="org-left">C-r</td>
<td class="org-left">query-replace-regexp</td>
<td class="org-left">replace text. (former isearch-backward)</td>
</tr>
<tr>
<td class="org-left">C-x C-b</td>
<td class="org-left">ibuffer</td>
<td class="org-left">list buffers (former list-buffers)</td>
</tr>
<tr>
<td class="org-left">C-x &vert;</td>
<td class="org-left">toggle-window-split</td>
<td class="org-left">toggle horizontal/vertical 2 window split</td>
</tr>
<tr>
<td class="org-left">M-up</td>
<td class="org-left">move-line-up</td>
<td class="org-left">move current line up</td>
</tr>
<tr>
<td class="org-left">M-down</td>
<td class="org-left">move-line-down</td>
<td class="org-left">move current line down</td>
</tr>
<tr>
<td class="org-left">mouse-6</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">scroll right</td>
</tr>
<tr>
<td class="org-left">mouse-7</td>
<td class="org-left">&#xa0;</td>
<td class="org-left">scroll left</td>
</tr>
<tr>
<td class="org-left">mouse-8</td>
<td class="org-left">previous-buffer</td>
<td class="org-left">&#xa0;</td>
</tr>
<tr>
<td class="org-left">mouse-9</td>
<td class="org-left">next-buffer</td>
<td class="org-left">&#xa0;</td>
</tr>
</tbody>
</table>
<a id="org"></a> <a id="org"></a>
@@ -180,7 +63,7 @@ installed linux packages as requirements inside `sripts/install.sh`.
## Org ## Org
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 2:</span> Org key bindings and functions</caption> <caption class="t-above"><span class="table-number">Table 1:</span> Org key bindings and functions</caption>
<colgroup> <colgroup>
<col class="org-left" /> <col class="org-left" />
@@ -517,7 +400,7 @@ Examples for an article
## Multiple cursors ## Multiple cursors
<table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides"> <table border="2" cellspacing="0" cellpadding="6" rules="groups" frame="hsides">
<caption class="t-above"><span class="table-number">Table 3:</span> Multiple cursors key bindings and functions</caption> <caption class="t-above"><span class="table-number">Table 2:</span> Multiple cursors key bindings and functions</caption>
<colgroup> <colgroup>
<col class="org-left" /> <col class="org-left" />
@@ -601,7 +484,7 @@ file. See [Interlocking](https://www.emacswiki.org/info-ref?find=Interlocking) i
- Page formatting - Page formatting
- Modify HTML styling - Modify HTML styling
- Printed page layout, white styled figures - Printed page layout, white styled figures
- Custom export function for HTML and \(\LaTeX\), with; - Custom export function for HTML and $\LaTeX$, with;
- `Shift` - `<f5>`, `Shift` - `<f6>` with open file - `Shift` - `<f5>`, `Shift` - `<f6>` with open file
- delete temp. generated export files - delete temp. generated export files
- Figures - Figures
@@ -612,7 +495,7 @@ file. See [Interlocking](https://www.emacswiki.org/info-ref?find=Interlocking) i
- Tables - Tables
- Wrap Table in div element. For smartphone scrolling. - Wrap Table in div element. For smartphone scrolling.
- Table of contents - Table of contents
- \(\LaTeX\); currently headers with no-number property means not included in TOC - $\LaTeX$; currently headers with no-number property means not included in TOC
- HTML; currently generated list, like lot and lol, are not included in toc - HTML; currently generated list, like lot and lol, are not included in toc
but own headers without numbers are. but own headers without numbers are.
- Equation cancel/strike out with color line - Equation cancel/strike out with color line

View File

@@ -23,25 +23,26 @@ a bunch of online resources.
:PROPERTIES: :PROPERTIES:
:CUSTOM_ID: packages :CUSTOM_ID: packages
:END: :END:
#+caption: General key bindings and functions #+caption:
| M-> | end-of-buffer | | General key bindings and functions
| M-< | beginning-of-buffer | | - =M->= (=end-of-buffer=)
| C-x h | mark-whole-buffer | mark the whole buffer | - =M-<= (=begin-of-buffer=)
| C-x TAB | indent-rigidly | indent selected region | - =C-x b= (=counsel-switch-buffer=)
| C-x RET f | set-buffer-file-coding-system | e. g. set to utf-8 | - =C-x |= (=toggle-window-split=) toggle horizontal/vertical of 2 window split
| | decode-coding-region | e. g. decode to utf-8 (郭富城Aaron Kwok) | - =C-x h= (=mark-whole-buffer=)
| | diff-buffer-with-file | show a diff between buffer and file | - =C-x TAB= (=indent-rigidly=) indent lines in the region
| C-h v | counsel-describe-variable | help text of variable | - =C-r= (=query-replace-regexp=) replace text
| C-h f | counsel-describe-funtion | help text of function | - =M-<up>= (=move-line-up=)
| C-r | query-replace-regexp | replace text. (former isearch-backward) | - =M-<down>= (=move-line-down=)
| C-x C-b | ibuffer | list buffers (former list-buffers) | - =C-x RET f= (=set-buffer-file-coding-system=) e.g. set to =utf-8
| C-x \vert | toggle-window-split | toggle horizontal/vertical 2 window split | - (=decode-coding-region=) e.g. decode to =utf-8= (郭富城Aaron Kwok)
| M-up | move-line-up | move current line up | - (=diff-buffer-with-file=) show a diff between buffer (current state) and file (saved state)
| M-down | move-line-down | move current line down | - =C-h f= (=helpful-callable=)
| mouse-6 | | scroll right | - =C-h v= (=helpful-variable=)
| mouse-7 | | scroll left | - =mouse-6= scroll right
| mouse-8 | previous-buffer | | - =mouse-7= scroll left
| mouse-9 | next-buffer | | - =mouse-8= (=previous-buffer=)
- =mouse-9= (=next-buffer=)
** Org ** Org
:PROPERTIES: :PROPERTIES:
@@ -53,19 +54,19 @@ a bunch of online resources.
| C-u C-u C-c \vert | org-table-create-or-convert-from-region | convert using TAB | | C-u C-u C-c \vert | org-table-create-or-convert-from-region | convert using TAB |
| C-u N C-c \vert | org-table-create-or-convert-from-region | convert using N spaces | | C-u N C-c \vert | org-table-create-or-convert-from-region | convert using N spaces |
| C-u REGEX C-c \vert | org-table-create-or-convert-from-region | convert using regex to match seperator | | C-u REGEX C-c \vert | 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 ± | | C-c C-x \ | org-toggle-pretty-entries | e. g. displays =\pm= as ± |
| | | | | | | |
| Org table | | | | Org table | | |
| S-right | org-shiftright | move a single cell right | | S-right | org-shiftright | move a single cell right |
| S-left | org-shiftleft | move a single cell left | | S-left | org-shiftleft | move a single cell left |
| C-c SPC | org-table-blank-field | clear cell | | C-c SPC | org-table-blank-field | clear cell |
| | | | | | | |
| Org src block | | | | 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 | | C-c C-v t | org-babel-tangle | create a file with the content of the block, use in header: :tangle filename |
| | | | | | | |
| Org export | | | | Org export | | |
| f5 | | in org export to html | | f5 | | in org export to html |
| f6 | | in org export to LaTeX | | f6 | | in org export to LaTeX |
*Important* *Important*
- For *Gnuplot* source blocks: Do not use =%= inside Gnuplot source - For *Gnuplot* source blocks: Do not use =%= inside Gnuplot source