extend my-help

This commit is contained in:
2022-12-11 15:20:47 +01:00
parent 647a6df436
commit e83f72ba5b
2 changed files with 49 additions and 55 deletions

View File

@@ -215,16 +215,6 @@ hiermit sende ich Ihnen die angeforderten Unterlagen zu und ...
,#+ATTACHMENT: analage 3 ,#+ATTACHMENT: analage 3
,#+ATTACHMENT: analage 6 ,#+ATTACHMENT: analage 6
#+end_src #+end_src
** Multiple cursors
:PROPERTIES:
:CUSTOM_ID: multiple-cursors
:END:
Multiple cursors key bindings and functions
- =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
** Other packages ** Other packages
:PROPERTIES: :PROPERTIES:
@@ -269,7 +259,6 @@ file. See [[https://www.emacswiki.org/info-ref?find=Interlocking][Interlocking]]
- 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
- Figures - Figures
- Gnuplot - Gnuplot
- plot transposed files/tables - plot transposed files/tables
@@ -285,9 +274,9 @@ file. See [[https://www.emacswiki.org/info-ref?find=Interlocking][Interlocking]]
- hcancel[color]{} - hcancel[color]{}
- Example: ~\(\hcancel[red]{f_{X_2}(x_2)}}\)~ - Example: ~\(\hcancel[red]{f_{X_2}(x_2)}}\)~
- Definition: - Definition:
- Preamle: ~#+LATEX_HEADER: \usepackage{cancel}~ \\ - Preamble: ~#+LATEX_HEADER: \usepackage{cancel}~ \\
~#+LATEX_HEADER: \newcommand\hcancel[2][black]{\setbox0=\hbox{$#2$}%~ \\ ~#+LATEX_HEADER: \newcommand\hcancel[2][black]{\setbox0=\hbox{$#2$}%~ \\
~#+LATEX_HEADER: \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{1pt}}}}#2}~ \\ ~#+LATEX_HEADER: \rlap{\raisebox{.45\ht0}{\textcolor{#1}{\rule{\wd0}{1pt}}}}#2}~ \\
- ~hcancel: [\"{\\\\setbox0=\\\\hbox{$#2$}\\\\rlap{\\\\raisebox{.45\\\\ht0}{\\\\textcolor{#1}{\\\\rule{\\\\wd0}{1pt}}}}#2}\",2]~ - ~hcancel: [\"{\\\\setbox0=\\\\hbox{$#2$}\\\\rlap{\\\\raisebox{.45\\\\ht0}{\\\\textcolor{#1}{\\\\rule{\\\\wd0}{1pt}}}}#2}\",2]~
#+Begin_example #+Begin_example
MathJax.Ajax.config.path[\"Contrib\"] = \"https://cdn.mathjax.org/mathjax/contrib\"; MathJax.Ajax.config.path[\"Contrib\"] = \"https://cdn.mathjax.org/mathjax/contrib\";

View File

@@ -37,51 +37,53 @@
*General Commands* /S: shift, C: control, M: alt or ⌘/ *General Commands* /S: shift, C: control, M: alt or ⌘/
[[help:save-buffer][Save]] ............... =[C-x]= =[C-s]= Help ..................... =[C-h]= [[help:save-buffer][Save]] ................... =C-x= =C-s= [[help:help-for-help][Help]] ................... =C-h= =C-h=
[[help:write-file][Save as]] ............ =[C-x]= =[C-w]= [[help:keyboard-quit][Cancel]] ................... =[C-g]= [[help:write-file][Save as]] ................ =C-x= =C-w= [[help:keyboard-quit][Cancel]] ..................... =C-g=
[[help:find-file][Open file]] .......... =[C-x]= =[C-f]= [[help:undo][Undo]] ..................... =[C-/]= [[help:find-file][Open file]] .............. =C-x= =C-f= [[help:undo][Undo]] ....................... =C-/=
[[help:counsel-recentf][Open recent]] ........ =[C-x]= =[C-r]= [[help:kill-buffer][Close buffer]] ......... =[C-x]= =[k]= [[help:counsel-recentf][Open recent]] ............ =C-x= =C-r= [[help:kill-buffer][Close buffer]] ............. =C-x= =k=
[[help:dired][Browse directory]] ..... =[C-x]= =[d]= [[help:counsel-switch-buffer][Switch buffer]] ........ =[C-x]= =[b]= [[help:dired][Browse directory]] ......... =C-x= =d= [[help:counsel-switch-buffer][Switch buffer]] ............ =C-x= =b=
[[help:previous-buffer][Previous buffer]] ... =[C-x]= =[left]= [[help:next-buffer][Next buffer]] ...... =[C-x]= =[right]= [[help:previous-buffer][Previous buffer]] ....... =C-x= =left= [[help:next-buffer][Next buffer]] .......... =C-x= =right=
[[help:save-buffers-kill-terminal][Quit]] ............... =[C-x]= =[C-c]= [[help:save-buffers-kill-terminal][Quit]] ................... =C-x= =C-c=
[[help:swiper][Search]] ................... =[C-s]= [[help:goto-line][Go to line]] ......... =[M-g]= =[M-g]= [[help:swiper][Search]] ..................... =C-s= [[help:goto-line][Go to line]] ............. =M-g= =M-g=
Replace .................. =[M-%]= Execute .................. =[M-x]= [[help:query-replace][Replace]] .................... =M-%= [[help:counsel-M-x][Execute]] .................... =M-x=
[[help:begin-of-buffer][Begin of buffer]] .......... =[M-<]= [[help:end-of-buffer][End of buffer]] ............ =[M->]= [[help:begin-of-buffer][Begin of buffer]] ............ =M-<= [[help:beginning-of-line][Begin of line]] .............. =C-a=
[[help:beginning-of-line][Begin of line]] ............ =[C-a]= [[help:end-of-line][End of line]] .............. =[C-e]= [[help:end-of-buffer][End of buffer]] .............. =M->= [[help:end-of-line][End of line]] ................ =C-e=
Mark ................... =[C-spc]= Copy from mark............ =[M-w]= Mark ..................... =C-spc= [[help:kill-ring-save][Copy]] ....................... =M-w=
Kill from mark............ =[C-w]= Kill from cursor.......... =[C-k]= [[help:kill-region][Cut]] ........................ =C-w= [[help:yank][Paste]] ...................... =C-y=
[[help:yank][Paste]] .................... =[C-y]= Paste older .............. =[M-y]= [[help:kill-line][Cut rest of line]] ........... =C-k= [[help:counsel-yank-pop][Paste older]] ................ =M-y=
[[help:mark-whole-buffer][Mark whole buffer]] .... =[C-x]= =[h]= [[help:mark-whole-buffer][Mark whole buffer]] ........ =C-x= =h=
*Multiple cursors* [[help:mc/mark-all-dwim][Mark all at point]] .... =M-m= =s= =m= =a=
Jump to next cursor ........ =C-v= (un)hide lines w/o a cursor =C-'=
Jump to previous cursor .... =M-v=
/[[info:emacs#Key%2520Bindings][Other key bindings]]/ /[[info:emacs#Key%2520Bindings][Other key bindings]]/
*Mouse*
*Mouse* [[help:mwheel-scroll][Scroll right]] ........... =mouse-6= [[help:previous-buffer][Previous buffer]] ........ =mouse-8=
[[help:mwheel-scroll][Scroll left]] ............ =mouse-7= [[help:next-buffer][Next buffer]] ............ =mouse-9=
Scroll right ......... =[mouse-6]= [[help:previous-buffer][Previous buffer]] ...... =[mouse-8]= [[help:mouse-wheel-text-scale][Zoom in]] ............. =C-wheel-up= [[help:mouse-wheel-global-text-scale][Zoom in global]] .... =C-M-wheel-up=
Scroll left .......... =[mouse-7]= [[help:next-buffer][Next buffer]] .......... =[mouse-9]= [[help:mouse-wheel-text-scale][Zoom out]] .......... =C-wheel-down= [[help:mouse-wheel-global-text-scale][Zoom out global]] . =C-M-wheel-down=
*Org* *Org*
[[help:org-toggle-pretty-entities][Pretty entities]] (\\xyz to UTF8 char) ................ =[C-c]= =[C-x]= =[\\]= [[help:org-toggle-pretty-entities][Pretty entities]] (\\xyz to UTF8 char) ...................... =C-c= =C-x= =\\=
[[help:org-redisplay-images][Redisplay inline images]] ........................ =[C-c]= =[C-x]= =[C-M-v]= [[help:org-redisplay-images][Redisplay inline images]] .............................. =C-c= =C-x= =C-M-v=
/TABLE/ *Table*
[[help:org-shiftleft][Move cell left]] ........ =[S-left]= [[help:org-shiftup][Move cell up]] ............ =[S-up]= [[help:org-shiftleft][Move cell left]] .......... =S-left= [[help:org-shiftup][Move cell up]] .............. =S-up=
[[help:org-shiftright][Move cell right]] ...... =[S-right]= [[help:org-shiftdown][Move cell down]] ........ =[S-down]= [[help:org-shiftright][Move cell right]] ........ =S-right= [[help:org-shiftdown][Move cell down]] .......... =S-down=
[[help:org-table-blank-field][Clear cell]] ............. =[space]= [[help:org-table-blank-field][Clear cell]] ............... =space=
[[help:org-table-create-or-convert-from-region][Convert]] seperator (1. tab, 2. comma, 3. space) ........... =[C-c]= =[|]= [[help:org-table-create-or-convert-from-region][Convert seperator (1. tab, 2. comma, 3. space)]] ............... =C-c= =|=
[[help:org-table-create-or-convert-from-region][Convert]] using comma separator ...................... =[C-u]= =[C-c]= =[|]= - comma .............. =C-u= =C-c= =|= - tab separator .. =C-u= =C-u= =C-c= =|=
[[help:org-table-create-or-convert-from-region][Convert]] using tab separator .................. =[C-u]= =[C-u]= =[C-c]= =[|]= - spaces ..... =C-u= =INTEGER= =C-c= =|= - regex ........ =C-u= =REGEX= =C-c= =|=
[[help:org-table-create-or-convert-from-region][Convert]] using N spaces separator ........... =[C-u]= =INTEGER= =[C-c]= =[|]=
[[help:org-table-create-or-convert-from-region][Convert]] using regex to match separator ....... =[C-u]= =REGEX= =[C-c]= =[|]=
/SRC/ *SRC*
[[help:org-babel-tangle][write src block to file]] (=:tangle filename=) ......... =[C-c]= =[C-v]= =[t]= [[help:org-babel-tangle][write src block to file]] (=:tangle filename=) ............... =C-c= =C-v= =t=
/SRC figures generating tex output, e.g. gnuplot/ *SRC figures generating tex output, e.g. gnuplot*
Do not use =%= but =\\%= or in a format command =\\%%= Do not use =%= but =\\%= or in a format command =\\%%=
- =%= starts a comment in LaTeX and therefore stops further interpre- - =%= starts a comment in LaTeX and therefore stops further interpre-
tations like a closing bracket =}= etc. tations like a closing bracket =}= etc.
@@ -89,16 +91,19 @@
.eps (figure) files. .eps (figure) files.
- =\\%= and =\\%%= can also be used for HTML SVG export - =\\%= and =\\%%= can also be used for HTML SVG export
/Export/ /Export LaTeX/ *Export* [[elisp:(my-org-article-help)][Article help]]
[[elisp:(my-org-article-help)][Article]] help [[help:org-latex-remove-logfiles][Logfiles are removed]]. Deactivate [[help:org-html-export-to-html][HTML]] ............... C-c C-e h h [[help:org-latex-export-to-pdf][PDF (LaTeX)]] ........ C-c C-e l l
for debugging. [[help:my-org-article-html-export-to-html][HTML article]] ....... C-c C-e h a [[help:my-org-article-latex-export-to-pdf][PDF article (LaTeX)]] C-c C-e l a
*Export LaTeX* [[help:org-latex-remove-logfiles][Logfiles are removed]] (Deactivate for debugging)
*Elisp* *Elisp*
[[help:eval-expression][Evaluate expression]] ...... =[M-:]= [[help:forward-sexp][Jump to next expression]] =[C-M-f]= [[help:eval-expression][Evaluate expression]] ........ =M-:= [[help:forward-sexp][Jump to next expression]] .. =C-M-f=
- [[help:eval-last-sexp][last to echo]] ..... =[C-x]= =[C-e]= [[help:backward-sexp][Jump tp prev. expression]] =[C-M-b]= - [[help:eval-last-sexp][last to echo]] ......... =C-x= =C-e= [[help:backward-sexp][Jump tp prev. expression]] . =C-M-b=
- [[help:eval-print-last-sexp][last to buffer]] [[help:kill-sexp][Cut expression]] ......... =[C-M-k]= - [[help:eval-print-last-sexp][last to buffer]] [[help:kill-sexp][Cut expression]] ........... =C-M-k=
[[help:mark-sexp][Mark expression]] ........ =[C-M-@]= [[help:backward-kill-sexp][Cut last expression]] . =[C-M-back]= [[help:mark-sexp][Mark expression]] .......... =C-M-@= [[help:backward-kill-sexp][Cut last expression]] . =C-M-backsp=
") ")
(my-org-help-mode) (my-org-help-mode)