From 036944136817965f6d4aa1502cbe08a725f8ce57 Mon Sep 17 00:00:00 2001 From: P Fournier Date: Fri, 29 Jul 2022 02:09:39 +0200 Subject: [PATCH] =?UTF-8?q?Mon=20journal=20mis=20=C3=A0=20jour?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- journal/journal.org | 250 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 250 insertions(+) create mode 100644 journal/journal.org diff --git a/journal/journal.org b/journal/journal.org new file mode 100644 index 0000000..8b4f22d --- /dev/null +++ b/journal/journal.org @@ -0,0 +1,250 @@ +# -*- mode: org -*- +# -*- coding: utf-8 -*- +#+STARTUP: overview indent inlineimages logdrawer +#+TITLE: Journal +#+AUTHOR: Pfou +#+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 +:LOGBOOK: +- STATE "TODO" FROM [2022-07-25 LUN. 15:59] +:END: + 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) + - =