add org-modern and vterm
This commit is contained in:
parent
6192d1b7e7
commit
6659f808fa
|
@ -9,17 +9,20 @@
|
||||||
;(add-to-list 'package-selected-packages 'org-roam)
|
;(add-to-list 'package-selected-packages 'org-roam)
|
||||||
;(add-to-list 'package-selected-packages 'org-roam-ui)
|
;(add-to-list 'package-selected-packages 'org-roam-ui)
|
||||||
(add-to-list 'package-selected-packages 'denote)
|
(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-latex)
|
||||||
(add-to-list 'package-selected-packages 'ox-koma-letter)
|
(add-to-list 'package-selected-packages 'ox-koma-letter)
|
||||||
(package-install-selected-packages :noconfirm)
|
(package-install-selected-packages :noconfirm)
|
||||||
|
|
||||||
|
(with-eval-after-load 'org (global-org-modern-mode))
|
||||||
|
|
||||||
(setq org-default-notes-file "~/Documents/Org/inbox.org")
|
(setq org-default-notes-file "~/Documents/Org/inbox.org")
|
||||||
(keymap-global-set "C-c o c" #'org-capture)
|
(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 l" #'org-store-link)
|
||||||
(keymap-global-set "C-c o a" #'org-agenda)
|
(keymap-global-set "C-c o a" #'org-agenda)
|
||||||
|
|
||||||
(keymap-global-set "<f7>" #'org-cycle-agenda-files)
|
(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
|
(setq org-agenda-files
|
||||||
(quote ("~/Documents/Org/inbox.org"
|
(quote ("~/Documents/Org/inbox.org"
|
||||||
|
|
|
@ -15,12 +15,21 @@
|
||||||
;(add-to-list 'package-selected-packages 'org-roam)
|
;(add-to-list 'package-selected-packages 'org-roam)
|
||||||
;(add-to-list 'package-selected-packages 'org-roam-ui)
|
;(add-to-list 'package-selected-packages 'org-roam-ui)
|
||||||
(add-to-list 'package-selected-packages 'denote)
|
(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-latex)
|
||||||
(add-to-list 'package-selected-packages 'ox-koma-letter)
|
(add-to-list 'package-selected-packages 'ox-koma-letter)
|
||||||
(package-install-selected-packages :noconfirm)
|
(package-install-selected-packages :noconfirm)
|
||||||
#+end_src
|
#+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
|
#+begin_src emacs-lisp
|
||||||
(setq org-default-notes-file "~/Documents/Org/inbox.org")
|
(setq org-default-notes-file "~/Documents/Org/inbox.org")
|
||||||
(keymap-global-set "C-c o c" #'org-capture)
|
(keymap-global-set "C-c o c" #'org-capture)
|
||||||
|
@ -31,7 +40,7 @@
|
||||||
(keymap-global-set "<f8>" #'find-file org-default-notes-file)
|
(keymap-global-set "<f8>" #'find-file org-default-notes-file)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Setup Agenda Files
|
* Setup Agenda Files
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-agenda-files
|
(setq org-agenda-files
|
||||||
|
@ -46,7 +55,7 @@
|
||||||
("~/Documents/Org/private.org" :maxlevel . 2)))
|
("~/Documents/Org/private.org" :maxlevel . 2)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Custom TODO keywords
|
* Custom TODO keywords
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-todo-keywords
|
(setq org-todo-keywords
|
||||||
(quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
|
(quote ((sequence "TODO(t)" "NEXT(n)" "|" "DONE(d)")
|
||||||
|
@ -62,7 +71,9 @@
|
||||||
("PHONE" :foreground "forest green" :weight bold))))
|
("PHONE" :foreground "forest green" :weight bold))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Add Week to Calendar
|
* TODO Add Week to Calendar
|
||||||
|
|
||||||
|
- [ ] this should go into 'fschl-ui.el'
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq calendar-week-start-day 1)
|
(setq calendar-week-start-day 1)
|
||||||
|
@ -79,12 +90,13 @@
|
||||||
'font-lock-face 'font-lock-keyword-face))
|
'font-lock-face 'font-lock-keyword-face))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Setup Capture Templates
|
* Setup Capture Templates
|
||||||
|
|
||||||
- https://orgmode.org/manual/Template-elements.html
|
- https://orgmode.org/manual/Template-elements.html
|
||||||
- https://orgmode.org/manual/Template-expansion.html
|
- https://orgmode.org/manual/Template-expansion.html
|
||||||
|
|
||||||
*** Export Letter
|
** TODO Export Letter
|
||||||
|
- [ ] hide behind a 'latex installed' guard
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(eval-after-load 'ox '(require 'ox-koma-letter))
|
(eval-after-load 'ox '(require 'ox-koma-letter))
|
||||||
(eval-after-load 'ox '(require 'ox-moderncv))
|
(eval-after-load 'ox '(require 'ox-moderncv))
|
||||||
|
@ -110,7 +122,7 @@
|
||||||
(expand-file-name (format "%s.org" name) "~/Documents/letters/") ))
|
(expand-file-name (format "%s.org" name) "~/Documents/letters/") ))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Capture Templates
|
** Capture Templates
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "todo list item" entry
|
'(("t" "todo list item" entry
|
||||||
|
@ -172,7 +184,7 @@
|
||||||
)
|
)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** extra
|
* Setup Babel Support
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
;; active Babel languages
|
;; active Babel languages
|
||||||
|
@ -273,12 +285,13 @@
|
||||||
|
|
||||||
(add-hook 'dired-mode-hook #'denote-dired-mode))
|
(add-hook 'dired-mode-hook #'denote-dired-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
* TeX and research
|
* TeX and research [0/1]
|
||||||
|
|
||||||
- Write a CV in org-mode: https://titan-c.gitlab.io/org-cv/
|
- Write a CV in org-mode: https://titan-c.gitlab.io/org-cv/
|
||||||
cloned to Path =~/src/org-cv=
|
cloned to Path =~/src/org-cv=
|
||||||
- requires: ~texlive-latex-extra texlive-xetex~
|
- requires: ~texlive-latex-extra texlive-xetex~
|
||||||
- =git clone https://github.com/posquit0/Awesome-CV ~/texmf/tex/latex/awesome-cv=
|
- =git clone https://github.com/posquit0/Awesome-CV ~/texmf/tex/latex/awesome-cv=
|
||||||
|
- [ ] hide behind a 'latex installed' guard
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package ox-awesomecv
|
(use-package ox-awesomecv
|
||||||
:load-path "~/src/org-cv/"
|
:load-path "~/src/org-cv/"
|
||||||
|
|
4
init.el
4
init.el
|
@ -18,6 +18,8 @@
|
||||||
(require 'crafted-ide-packages)
|
(require 'crafted-ide-packages)
|
||||||
(require 'crafted-writing-packages)
|
(require 'crafted-writing-packages)
|
||||||
|
|
||||||
|
(add-to-list 'package-selected-packages 'vterm)
|
||||||
|
|
||||||
(package-install-selected-packages :noconfirm)
|
(package-install-selected-packages :noconfirm)
|
||||||
|
|
||||||
(require 'crafted-defaults-config)
|
(require 'crafted-defaults-config)
|
||||||
|
@ -29,6 +31,8 @@
|
||||||
(require 'crafted-ide-config)
|
(require 'crafted-ide-config)
|
||||||
(require 'crafted-writing-config)
|
(require 'crafted-writing-config)
|
||||||
|
|
||||||
|
(require 'vterm)
|
||||||
|
|
||||||
(unless crafted-startup-inhibit-splash
|
(unless crafted-startup-inhibit-splash
|
||||||
(setq initial-buffer-choice #'crafted-startup-screen))
|
(setq initial-buffer-choice #'crafted-startup-screen))
|
||||||
|
|
||||||
|
|
4
init.org
4
init.org
|
@ -28,6 +28,8 @@
|
||||||
(require 'crafted-ide-packages)
|
(require 'crafted-ide-packages)
|
||||||
(require 'crafted-writing-packages)
|
(require 'crafted-writing-packages)
|
||||||
|
|
||||||
|
(add-to-list 'package-selected-packages 'vterm)
|
||||||
|
|
||||||
(package-install-selected-packages :noconfirm)
|
(package-install-selected-packages :noconfirm)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
@ -42,6 +44,8 @@
|
||||||
(require 'crafted-ide-config)
|
(require 'crafted-ide-config)
|
||||||
(require 'crafted-writing-config)
|
(require 'crafted-writing-config)
|
||||||
|
|
||||||
|
(require 'vterm)
|
||||||
|
|
||||||
(unless crafted-startup-inhibit-splash
|
(unless crafted-startup-inhibit-splash
|
||||||
(setq initial-buffer-choice #'crafted-startup-screen))
|
(setq initial-buffer-choice #'crafted-startup-screen))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
Loading…
Reference in New Issue