Large update
This commit is contained in:
62
doom.org
62
doom.org
@@ -11,7 +11,6 @@
|
||||
#+html_head: <link rel="stylesheet" type="text/css" href="./dist/style.css"/>
|
||||
#+html_head: <script type="text/javascript" src="./dist/script.js"></script>
|
||||
#+property: header-args:emacs-lisp :tangle ~/.config/doom/config.el :results none :padline no
|
||||
#+auto_tangle: t
|
||||
|
||||
* Installation
|
||||
#+begin_src bash :tangle no
|
||||
@@ -86,6 +85,15 @@ After that, restart Emacs with =spc q r=.
|
||||
| =C-c C-v h= | org-babel-describe-bindings |
|
||||
| =C-c C-v x= | org-babel-do-key-sequence-in-edit-buffer |
|
||||
|
||||
Timers:
|
||||
- =C-c C-x 0=: Start Timer
|
||||
- =C-c C-x .=: Insert timestamp
|
||||
- =C-c C-x ,=: Pause Timer
|
||||
- =C-c C-x _=: Stop Timer
|
||||
|
||||
Tables:
|
||||
- =S-RET=: copy and increment the cell at point
|
||||
|
||||
** Evil bindings
|
||||
|
||||
| ~gv~ | Selects the previous visual |
|
||||
@@ -215,6 +223,8 @@ Turn off auto-fill mode that add line breaks.
|
||||
(evil-window-vsplit)
|
||||
(evil-window-right 1)
|
||||
(switch-to-buffer "*MATLAB*")
|
||||
(evil-normal-state)
|
||||
(evil-goto-line)
|
||||
(evil-window-left 1)
|
||||
)
|
||||
#+end_src
|
||||
@@ -224,6 +234,13 @@ Turn off auto-fill mode that add line breaks.
|
||||
(setq alert-default-style 'libnotify)
|
||||
#+end_src
|
||||
|
||||
** Spell Check
|
||||
Switch from one language to an other ([[https://stackoverflow.com/questions/42159012/emacs-spell-check-on-fly-for-2-languages][link]]).
|
||||
#+begin_src emacs-lisp
|
||||
(setq ispell-dictionary "en_US")
|
||||
(setq ispell-program-name "aspell")
|
||||
#+end_src
|
||||
|
||||
** Lockfiles
|
||||
#+begin_src emacs-lisp
|
||||
(setq create-lockfiles nil)
|
||||
@@ -1047,6 +1064,17 @@ by spaces.
|
||||
(setq org-html-format-drawer-function 'my/org-drawer-format)
|
||||
#+end_src
|
||||
|
||||
** Org Xournalpp
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! org-xournalpp
|
||||
:config
|
||||
(add-hook 'org-mode-hook 'org-xournalpp-mode))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(setq org-xournalpp-template-getter (lambda () "/home/thomas/Downloads/template_test.xopp"))
|
||||
#+end_src
|
||||
|
||||
** Org LaTeX
|
||||
*** LaTeX Fragments
|
||||
#+begin_src emacs-lisp
|
||||
@@ -1412,7 +1440,7 @@ https://kitchingroup.cheme.cmu.edu/blog/2016/11/07/Better-equation-numbering-in-
|
||||
#+end_src
|
||||
|
||||
** Org Media Note
|
||||
#+begin_src emacs-lisp
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package! org-media-note
|
||||
:hook (org-mode . org-media-note-setup-org-ref)
|
||||
:bind (
|
||||
@@ -1423,14 +1451,6 @@ https://kitchingroup.cheme.cmu.edu/blog/2016/11/07/Better-equation-numbering-in-
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** Org Auto Tangle
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package! org-auto-tangle
|
||||
:after org
|
||||
:hook (org-mode . org-auto-tangle-mode)
|
||||
)
|
||||
#+end_src
|
||||
|
||||
** LaTeX macro both for LaTeX and HTML export
|
||||
https://www.reddit.com/r/orgmode/comments/7u2n0h/tip_for_defining_latex_macros_for_use_in_both/
|
||||
|
||||
@@ -1456,7 +1476,6 @@ https://www.reddit.com/r/orgmode/comments/7u2n0h/tip_for_defining_latex_macros_f
|
||||
)
|
||||
#+end_src
|
||||
|
||||
|
||||
** Org Projects
|
||||
#+begin_src emacs-lisp
|
||||
(setq org-publish-project-alist
|
||||
@@ -1490,7 +1509,7 @@ https://www.reddit.com/r/orgmode/comments/7u2n0h/tip_for_defining_latex_macros_f
|
||||
:author "Dehaeze Thomas"
|
||||
:email "dehaeze.thomas@gmail.com/"
|
||||
:recursive nil
|
||||
:publishing-function org-html-publish-to-html
|
||||
:publishing-function (list org-html-publish-to-html org-latex-publish-to-pdf)
|
||||
:auto-preamble t
|
||||
:auto-sitemap nil
|
||||
:html-link-up "index.html"
|
||||
@@ -2442,7 +2461,7 @@ This function:
|
||||
(if (tdh-in-src-block-p)
|
||||
(progn
|
||||
(org-edit-special)
|
||||
(evil-indent (point-min) (point-max))
|
||||
(indent-region (point-min) (point-max))
|
||||
(org-edit-src-exit))
|
||||
(org-table-eval-formula)))
|
||||
#+end_src
|
||||
@@ -2572,6 +2591,10 @@ Nice Functions:
|
||||
(if (file-exists-p pdf-file)
|
||||
(call-process "zathura" nil 0 nil pdf-file)
|
||||
(message "no pdf found for %s" key))))
|
||||
|
||||
|
||||
;; Open with Zathura by default
|
||||
(setq org-ref-open-pdf-function 'tdh-org-ref-open-pdf-at-point)
|
||||
#+end_src
|
||||
|
||||
** Org Noter ([[https://github.com/weirdNox/org-noter][link]])
|
||||
@@ -3032,6 +3055,12 @@ Provides nice functions such as:
|
||||
:n "dq" 'gud-finish)))
|
||||
#+end_src
|
||||
|
||||
* Pandoc
|
||||
#+begin_src emacs-lisp :tangle no
|
||||
(use-package! pandoc-mode
|
||||
)
|
||||
#+end_src
|
||||
|
||||
* Mu4e
|
||||
** Resources
|
||||
Documentation:
|
||||
@@ -3329,6 +3358,13 @@ Choose account label to feed msmtp -a option based on From header in Message buf
|
||||
:header-args:emacs-lisp: :tangle ~/.config/doom/packages.el
|
||||
:END:
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
(package! org-xournalpp
|
||||
:recipe (:host gitlab
|
||||
:repo "vherrmann/org-xournalpp"
|
||||
:files ("resources" "*.el")))
|
||||
#+end_src
|
||||
|
||||
#+begin_src emacs-lisp
|
||||
;; Vimrc
|
||||
(package! vimrc-mode)
|
||||
|
||||
Reference in New Issue
Block a user