From 6659f808fa631cfe7f1be58ed24805cc3b720531 Mon Sep 17 00:00:00 2001 From: Frieder Schlesier Date: Wed, 17 Apr 2024 08:41:12 +0200 Subject: [PATCH] add org-modern and vterm --- fschl-org.el | 5 ++++- fschl-org.org | 31 ++++++++++++++++++++++--------- init.el | 4 ++++ init.org | 4 ++++ 4 files changed, 34 insertions(+), 10 deletions(-) diff --git a/fschl-org.el b/fschl-org.el index 563ac52..87882be 100644 --- a/fschl-org.el +++ b/fschl-org.el @@ -9,17 +9,20 @@ ;(add-to-list 'package-selected-packages 'org-roam) ;(add-to-list 'package-selected-packages 'org-roam-ui) (add-to-list 'package-selected-packages 'denote) +(add-to-list 'package-selected-packages 'org-modern) (add-to-list 'package-selected-packages 'ox-latex) (add-to-list 'package-selected-packages 'ox-koma-letter) (package-install-selected-packages :noconfirm) +(with-eval-after-load 'org (global-org-modern-mode)) + (setq org-default-notes-file "~/Documents/Org/inbox.org") (keymap-global-set "C-c o c" #'org-capture) (keymap-global-set "C-c o l" #'org-store-link) (keymap-global-set "C-c o a" #'org-agenda) (keymap-global-set "" #'org-cycle-agenda-files) -;(keymap-global-set "" #'find-file org-default-notes-file) +(keymap-global-set "" #'find-file org-default-notes-file) (setq org-agenda-files (quote ("~/Documents/Org/inbox.org" diff --git a/fschl-org.org b/fschl-org.org index 22c0e75..3b97d76 100644 --- a/fschl-org.org +++ b/fschl-org.org @@ -15,12 +15,21 @@ ;(add-to-list 'package-selected-packages 'org-roam) ;(add-to-list 'package-selected-packages 'org-roam-ui) (add-to-list 'package-selected-packages 'denote) + (add-to-list 'package-selected-packages 'org-modern) (add-to-list 'package-selected-packages 'ox-latex) (add-to-list 'package-selected-packages 'ox-koma-letter) (package-install-selected-packages :noconfirm) #+end_src -** Setup Org-mode Key Map +* Beautify Org + +https://github.com/minad/org-modern + +#+begin_src emacs-lisp + (with-eval-after-load 'org (global-org-modern-mode)) +#+end_src + +* Setup Org-mode Key Map #+begin_src emacs-lisp (setq org-default-notes-file "~/Documents/Org/inbox.org") (keymap-global-set "C-c o c" #'org-capture) @@ -31,7 +40,7 @@ (keymap-global-set "" #'find-file org-default-notes-file) #+end_src -** Setup Agenda Files +* Setup Agenda Files #+begin_src emacs-lisp (setq org-agenda-files @@ -46,7 +55,7 @@ ("~/Documents/Org/private.org" :maxlevel . 2))) #+end_src -*** Custom TODO keywords +* Custom TODO keywords #+begin_src emacs-lisp (setq org-todo-keywords (quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)") @@ -62,7 +71,9 @@ ("PHONE" :foreground "forest green" :weight bold)))) #+end_src -*** Add Week to Calendar +* TODO Add Week to Calendar + +- [ ] this should go into 'fschl-ui.el' #+begin_src emacs-lisp (setq calendar-week-start-day 1) @@ -79,12 +90,13 @@ 'font-lock-face 'font-lock-keyword-face)) #+end_src -** Setup Capture Templates +* Setup Capture Templates - https://orgmode.org/manual/Template-elements.html - https://orgmode.org/manual/Template-expansion.html -*** Export Letter +** TODO Export Letter +- [ ] hide behind a 'latex installed' guard #+begin_src emacs-lisp (eval-after-load 'ox '(require 'ox-koma-letter)) (eval-after-load 'ox '(require 'ox-moderncv)) @@ -110,7 +122,7 @@ (expand-file-name (format "%s.org" name) "~/Documents/letters/") )) #+end_src -*** Capture Templates +** Capture Templates #+begin_src emacs-lisp (setq org-capture-templates '(("t" "todo list item" entry @@ -172,7 +184,7 @@ ) #+end_src -** extra +* Setup Babel Support #+begin_src emacs-lisp ;; active Babel languages @@ -273,12 +285,13 @@ (add-hook 'dired-mode-hook #'denote-dired-mode)) #+end_src -* TeX and research +* TeX and research [0/1] - Write a CV in org-mode: https://titan-c.gitlab.io/org-cv/ cloned to Path =~/src/org-cv= - requires: ~texlive-latex-extra texlive-xetex~ - =git clone https://github.com/posquit0/Awesome-CV ~/texmf/tex/latex/awesome-cv= +- [ ] hide behind a 'latex installed' guard #+begin_src emacs-lisp (use-package ox-awesomecv :load-path "~/src/org-cv/" diff --git a/init.el b/init.el index 6df9152..ba1de36 100644 --- a/init.el +++ b/init.el @@ -18,6 +18,8 @@ (require 'crafted-ide-packages) (require 'crafted-writing-packages) +(add-to-list 'package-selected-packages 'vterm) + (package-install-selected-packages :noconfirm) (require 'crafted-defaults-config) @@ -29,6 +31,8 @@ (require 'crafted-ide-config) (require 'crafted-writing-config) +(require 'vterm) + (unless crafted-startup-inhibit-splash (setq initial-buffer-choice #'crafted-startup-screen)) diff --git a/init.org b/init.org index ec97cb6..595d654 100644 --- a/init.org +++ b/init.org @@ -28,6 +28,8 @@ (require 'crafted-ide-packages) (require 'crafted-writing-packages) + (add-to-list 'package-selected-packages 'vterm) + (package-install-selected-packages :noconfirm) #+end_src @@ -42,6 +44,8 @@ (require 'crafted-ide-config) (require 'crafted-writing-config) + (require 'vterm) + (unless crafted-startup-inhibit-splash (setq initial-buffer-choice #'crafted-startup-screen)) #+end_src