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

View File

@@ -23,25 +23,26 @@ a bunch of online resources.
:PROPERTIES:
:CUSTOM_ID: packages
:END:
#+caption: General key bindings and functions
| 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 \vert | 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 | |
#+caption:
General key bindings and functions
- =M->= (=end-of-buffer=)
- =M-<= (=begin-of-buffer=)
- =C-x b= (=counsel-switch-buffer=)
- =C-x |= (=toggle-window-split=) toggle horizontal/vertical of 2 window split
- =C-x h= (=mark-whole-buffer=)
- =C-x TAB= (=indent-rigidly=) indent lines in the region
- =C-r= (=query-replace-regexp=) replace text
- =M-<up>= (=move-line-up=)
- =M-<down>= (=move-line-down=)
- =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 (current state) and file (saved state)
- =C-h f= (=helpful-callable=)
- =C-h v= (=helpful-variable=)
- =mouse-6= scroll right
- =mouse-7= scroll left
- =mouse-8= (=previous-buffer=)
- =mouse-9= (=next-buffer=)
** Org
: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 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-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 |
| 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 |
*Important*
- For *Gnuplot* source blocks: Do not use =%= inside Gnuplot source