add org-modern and vterm

This commit is contained in:
Frieder Schlesier 2024-04-17 08:41:12 +02:00
parent 6192d1b7e7
commit 6659f808fa
4 changed files with 34 additions and 10 deletions

View File

@ -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 "<f7>" #'org-cycle-agenda-files)
;(keymap-global-set "<f8>" #'find-file org-default-notes-file)
(keymap-global-set "<f8>" #'find-file org-default-notes-file)
(setq org-agenda-files
(quote ("~/Documents/Org/inbox.org"

View File

@ -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 "<f8>" #'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/"

View File

@ -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))

View File

@ -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