diff --git a/configuration.org b/configuration.org index 29051e7e0b69305fc55b40b4a0fc3dfb47e2ce5a..f19ce16c611c04594f1161d300ce05f38b62f7dc 100644 --- a/configuration.org +++ b/configuration.org @@ -262,6 +262,12 @@ Some of my configuration entries where borrowed from other people, see ) #+END_SRC + Use Fira Code with ligature + + #+begin_src emacs-lisp +(use-package fira-code-mode + :config (global-fira-code-mode)) + #+end_src ** Modeline @@ -347,6 +353,8 @@ Some of my configuration entries where borrowed from other people, see (org-src-tab-acts-natively t) ;; IDO for completion when applicable (org-completion-use-ido t) + ;; hide emphasis markers +;; (org-hide-emphasis-markers t) :config ;; (require 'org-tempo) (add-hook 'org-mode-hook @@ -359,9 +367,17 @@ Some of my configuration entries where borrowed from other people, see ))))) #+END_SRC - #+RESULTS: - : t + Add a shortcut to toggle display of emphasis characters + #+begin_src emacs-lisp +(defun org-toggle-emphasis () + "Toggle hiding/showing of org emphasize markers." + (interactive) + (if org-hide-emphasis-markers + (set-variable 'org-hide-emphasis-markers nil) + (set-variable 'org-hide-emphasis-markers t))) +(define-key org-mode-map (kbd "C-c e") 'org-toggle-emphasis) + #+end_src Use =org-mode= for the initial scratch buffer @@ -395,6 +411,10 @@ Some of my configuration entries where borrowed from other people, see (add-hook 'org-mode-hook 'org-bullets-mode)) #+end_src + #+begin_src emacs-lisp +(set-face-foreground 'org-verbatim "orange1") + #+end_src + ** Task management Record when a todo item was marked as done and enforce marking @@ -514,6 +534,16 @@ Some of my configuration entries where borrowed from other people, see #+end_src +** Tree slide + + #+begin_src emacs-lisp +(use-package org-tree-slide +:config +(define-key org-mode-map (kbd "<f8>") 'org-tree-slide-mode) +) + #+end_src + + ** Export configuration I use =org-mode= to export to LaTeX, (beamer and article) markdown and to HTML