From 4b07e6e7080311004f13935153a5da4f899d146c Mon Sep 17 00:00:00 2001 From: escuiller Date: Fri, 3 Apr 2020 15:58:38 +0200 Subject: [PATCH] ajout du fichier journal.org --- journal/journal.org | 126 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 126 insertions(+) create mode 100644 journal/journal.org diff --git a/journal/journal.org b/journal/journal.org new file mode 100644 index 0000000..571745c --- /dev/null +++ b/journal/journal.org @@ -0,0 +1,126 @@ +# -*- mode: org -*- +# -*- coding: utf-8 -*- +#+STARTUP: overview indent inlineimages logdrawer +#+TITLE: Journal de suivi du mooc-rr +#+AUTHOR: escuiller +#+LANGUAGE: en +#+TAGS: LIG(L) HOME(H) Europe(E) Blog(B) noexport(n) Stats(S) +#+TAGS: Epistemology(E) Vulgarization(V) Teaching(T) R(R) OrgMode(O) Python(P) +#+EXPORT_SELECT_TAGS: Blog +#+OPTIONS: H:3 num:t toc:t \n:nil @:t ::t |:t ^:t -:t f:t *:t <:t +#+OPTIONS: TeX:t LaTeX:nil skip:nil d:nil todo:t pri:nil tags:not-in-toc +#+EXPORT_SELECT_TAGS: export +#+EXPORT_EXCLUDE_TAGS: noexport +#+COLUMNS: %25ITEM %TODO %3PRIORITY %TAGS +#+SEQ_TODO: TODO(t!) STARTED(s!) WAITING(w@) APPT(a!) | DONE(d!) CANCELLED(c!) DEFERRED(f!) + +* 2018 +** 2018-02 March +*** 2018-02-12 Monday +**** Demonstrating Emacs/Orgmode shortcuts +These informations were gathered and first demonstrated in my [[https://github.com/alegrand/RR_webinars/blob/master/1_replicable_article_laboratory_notebook/index.org][First +webinar on reproducible research: litterate programming]]. +***** Emacs shortcuts +Here are a few convenient emacs shortcuts for those that have never +used emacs. In all of the emacs shortcuts, =C=Ctrl=, =M=Alt/Esc or Cmd with MacOs= and +=S=Shift=. Note that you may want to use two hours to follow the emacs +tutorial (=C-h t=). In the configuration file CUA keys have been +activated and allow you to use classical copy/paste (=C-c/C-v=) +shortcuts. This can be changed from the Options menu. + - =C-x C-c= exit + - =C-x C-s= save buffer + - =C-g= panic mode ;) type this whenever you want to exit an awful + series of shortcuts + - =C-Space= start selection marker although selection with shift and + arrows should work as well + - =C-l= reposition the screen + - =C-_= (or =C-z= if CUA keys have been activated) + - =C-s= search + - =M-%= replace + - =C-x C-h= get the list of emacs shortcuts + - =C-c C-h= get the list of emacs shortcuts considering the mode you are + currently using (e.g., C, Lisp, org, ...) + - With the "/reproducible research/" emacs configuration, ~C-x g~ allows + you to invoke [[https://magit.vc/][Magit]] (provided you installed it beforehand!) which + is a nice git interface for Emacs. + There are a bunch of cheatsheets also available out there (e.g., + [[http://www.shortcutworld.com/en/linux/Emacs_23.2.1.html][this one for emacs]] and [[http://orgmode.org/orgcard.txt][this one for org-mode]] or this [[http://sachachua.com/blog/wp-content/uploads/2013/05/How-to-Learn-Emacs-v2-Large.png][graphical one]]). +***** Org-mode + Many emacs shortcuts start by =C-x=. Org-mode's shortcuts generaly + start with =C-c=. + - =Tab= fold/unfold + - =C-c c= capture (finish capturing with =C-c C-c=, this is explained on + the top of the buffer that just opened) + - =C-c C-c= do something useful here (tag, execute, ...) + - =C-c C-o= open link + - =C-c C-t= switch todo + - =C-c C-e= export + - =M-Enter= new item/section + - =C-c a= agenda (try the =L= option) + - =C-c C-a= attach files + - =C-c C-d= set a deadl1ine (use =S-arrows= to navigate in the dates) + - =A-arrows= move subtree (add shift for the whole subtree) +***** Org-mode Babel (for literate programming) + - =