From 2caf453cc3eeebf4412beaebdf3fe3388888ac94 Mon Sep 17 00:00:00 2001 From: Tan Yee Jian Date: Thu, 7 Oct 2021 13:26:02 +0800 Subject: [PATCH] Add emacs snippets, change doom packages --- emacs/.doom.d/config.el | 4 +++- emacs/.doom.d/init.el | 6 +++--- emacs/.doom.d/snippets/latex/homework | 1 + 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/emacs/.doom.d/config.el b/emacs/.doom.d/config.el index 2e3cf758..022806a8 100644 --- a/emacs/.doom.d/config.el +++ b/emacs/.doom.d/config.el @@ -81,7 +81,8 @@ ("x" "Doing and Agenda" ((todo "INPROGRESS|WAITING")(agenda ""))) ) org-global-properties '(("Effort_ALL" . "0 0:10 0:30 1:00 2:00 3:00 4:00 5:00 6:00 7:00")) - org-columns-default-format "%58ITEM %TODO %3PRIORITY %TAGS %5Effort(Est.){:} %CLOCKSUM(Spent)" + org-columns-default-format "%58ITEM %TODO %3PRIORITY %5Effort(Est.){:} %CLOCKSUM(Spent){:}" + org-pomodoro-audio-player "paplay --volume=52000" ;; org-columns-default-format-for-agenda "%25ITEM %TODO %3PRIORITY %TAGS %17Effort(Estimated Effort){:} %CLOCKSUM" ;; org-columns-default-format-for-agenda nil org-download-method 'directory @@ -168,4 +169,5 @@ (after! mixed-pitch-mode (setq ) ) + (message "Done reloading config.") diff --git a/emacs/.doom.d/init.el b/emacs/.doom.d/init.el index e9714044..124fcacf 100644 --- a/emacs/.doom.d/init.el +++ b/emacs/.doom.d/init.el @@ -157,18 +157,18 @@ ;;php ; perl's insecure younger brother ;;plantuml ; diagrams for confusing people more ;;purescript ; javascript, but functional - (python +lsp) ; beautiful is better than ugly + (python +lsp +poetry) ; beautiful is better than ugly ;;qt ; the 'cutest' gui framework ever ;;racket ; a DSL for DSLs ;;raku ; the artist formerly known as perl6 ;;rest ; Emacs as a REST client ;;rst ; ReST in peace ;;(ruby +rails) ; 1.step {|i| p "Ruby is #{i.even? ? 'love' : 'life'}"} - rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() + ;; rust ; Fe2O3.unwrap().unwrap().unwrap().unwrap() ;;scala ; java, but good ;;(scheme +guile) ; a fully conniving family of lisps (sh +lsp +fish) ; she sells {ba,z,fi}sh shells on the C xor - sml + ;; sml ;;solidity ; do you need a blockchain? No. ;;swift ; who asked for emoji variables? ;;terra ; Earth and Moon in alignment for performance. diff --git a/emacs/.doom.d/snippets/latex/homework b/emacs/.doom.d/snippets/latex/homework index e38babf2..65699d95 100644 --- a/emacs/.doom.d/snippets/latex/homework +++ b/emacs/.doom.d/snippets/latex/homework @@ -18,6 +18,7 @@ \usepackage{textcomp} \usepackage{amsmath, amssymb, amsthm} \theoremstyle{plain} +\usepackage{hyperref} % \usepackage[outputdir=tmp]{minted} \usepackage{lmodern} \usepackage{fancyhdr}