added GTD dropdown
This commit is contained in:
+107
-75
@@ -40,8 +40,17 @@
|
|||||||
- [[#lightdm][LightDM]]
|
- [[#lightdm][LightDM]]
|
||||||
- [[#xfce][Xfce]]
|
- [[#xfce][Xfce]]
|
||||||
- [[#qtile][Qtile]]
|
- [[#qtile][Qtile]]
|
||||||
- [[#text-editors][Text Editors]]
|
|
||||||
- [[#doom-emacs-1][Doom Emacs]]
|
- [[#doom-emacs-1][Doom Emacs]]
|
||||||
|
- [[#installation][Installation]]
|
||||||
|
- [[#doom-modules][Doom Modules]]
|
||||||
|
- [[#general-configuration][General Configuration]]
|
||||||
|
- [[#multilanguage-spellcheck][Multilanguage Spellcheck]]
|
||||||
|
- [[#latex][LaTeX]]
|
||||||
|
- [[#mu4e][mu4e]]
|
||||||
|
- [[#org-mode][Org Mode]]
|
||||||
|
- [[#polymode][Polymode]]
|
||||||
|
- [[#python][Python]]
|
||||||
|
- [[#text-editors][Text Editors]]
|
||||||
- [[#vscode][VSCode]]
|
- [[#vscode][VSCode]]
|
||||||
- [[#neovim][NeoVim]]
|
- [[#neovim][NeoVim]]
|
||||||
- [[#browser][Browser]]
|
- [[#browser][Browser]]
|
||||||
@@ -64,43 +73,43 @@
|
|||||||
- [[#rofi][Rofi]]
|
- [[#rofi][Rofi]]
|
||||||
- [[#dunst-urgency-levels][Dunst Urgency Levels]]
|
- [[#dunst-urgency-levels][Dunst Urgency Levels]]
|
||||||
- [[#bluetooth][Bluetooth]]
|
- [[#bluetooth][Bluetooth]]
|
||||||
- [[#installation][Installation]]
|
- [[#installation-1][Installation]]
|
||||||
- [[#activate-systemd-service][Activate systemd Service]]
|
- [[#activate-systemd-service][Activate systemd Service]]
|
||||||
- [[#blueman-applet][Blueman Applet]]
|
- [[#blueman-applet][Blueman Applet]]
|
||||||
- [[#space-mouse-support][Space Mouse Support]]
|
- [[#space-mouse-support][Space Mouse Support]]
|
||||||
- [[#daemon][Daemon]]
|
- [[#daemon][Daemon]]
|
||||||
- [[#git][Git]]
|
- [[#git][Git]]
|
||||||
- [[#installation-1][Installation]]
|
- [[#installation-2][Installation]]
|
||||||
- [[#configuration][Configuration]]
|
- [[#configuration][Configuration]]
|
||||||
- [[#git-lfs][Git LFS]]
|
- [[#git-lfs][Git LFS]]
|
||||||
- [[#meld][Meld]]
|
- [[#meld][Meld]]
|
||||||
- [[#miniconda][Miniconda]]
|
- [[#miniconda][Miniconda]]
|
||||||
- [[#installation-2][Installation]]
|
- [[#installation-3][Installation]]
|
||||||
- [[#zsh-special-settings][ZSH special settings]]
|
- [[#zsh-special-settings][ZSH special settings]]
|
||||||
- [[#do-not-activate-base-environment-on-startup][Do not activate base environment on startup]]
|
- [[#do-not-activate-base-environment-on-startup][Do not activate base environment on startup]]
|
||||||
- [[#install-mamba-for-faster-environment-solve][Install Mamba for faster environment solve]]
|
- [[#install-mamba-for-faster-environment-solve][Install Mamba for faster environment solve]]
|
||||||
- [[#workaround-openssl-error][Workaround: OpenSSL error]]
|
- [[#workaround-openssl-error][Workaround: OpenSSL error]]
|
||||||
- [[#zathura][Zathura]]
|
- [[#zathura][Zathura]]
|
||||||
- [[#installation-3][Installation]]
|
- [[#installation-4][Installation]]
|
||||||
- [[#enable-synctex][enable synctex]]
|
- [[#enable-synctex][enable synctex]]
|
||||||
- [[#nextcloud][Nextcloud]]
|
- [[#nextcloud][Nextcloud]]
|
||||||
- [[#add-to-autostart][add to autostart]]
|
- [[#add-to-autostart][add to autostart]]
|
||||||
- [[#add-keyring][add keyring]]
|
- [[#add-keyring][add keyring]]
|
||||||
- [[#bitwarden][Bitwarden]]
|
- [[#bitwarden][Bitwarden]]
|
||||||
- [[#installation-4][Installation]]
|
- [[#installation-5][Installation]]
|
||||||
- [[#configuration-1][Configuration]]
|
- [[#configuration-1][Configuration]]
|
||||||
- [[#pcmanfm][PCManFM]]
|
- [[#pcmanfm][PCManFM]]
|
||||||
- [[#installation-5][Installation]]
|
- [[#installation-6][Installation]]
|
||||||
- [[#automount-usb][Automount USB]]
|
- [[#automount-usb][Automount USB]]
|
||||||
- [[#trash-support][Trash Support]]
|
- [[#trash-support][Trash Support]]
|
||||||
- [[#smb-support][SMB Support]]
|
- [[#smb-support][SMB Support]]
|
||||||
- [[#mtp-support][MTP Support]]
|
- [[#mtp-support][MTP Support]]
|
||||||
- [[#redshift][Redshift]]
|
- [[#redshift][Redshift]]
|
||||||
- [[#installation-6][Installation]]
|
- [[#installation-7][Installation]]
|
||||||
- [[#autostart][Autostart]]
|
- [[#autostart][Autostart]]
|
||||||
- [[#automatic-location-configuration][Automatic Location Configuration]]
|
- [[#automatic-location-configuration][Automatic Location Configuration]]
|
||||||
- [[#frpint][frpint]]
|
- [[#frpint][frpint]]
|
||||||
- [[#installation-7][Installation]]
|
- [[#installation-8][Installation]]
|
||||||
- [[#enable-systemd-service][Enable systemd Service]]
|
- [[#enable-systemd-service][Enable systemd Service]]
|
||||||
- [[#add-user-to-input-group][Add User to input Group]]
|
- [[#add-user-to-input-group][Add User to input Group]]
|
||||||
- [[#authentication-agent][Authentication Agent]]
|
- [[#authentication-agent][Authentication Agent]]
|
||||||
@@ -118,7 +127,7 @@
|
|||||||
- [[#activate-systemd-service-1][Activate systemd Service]]
|
- [[#activate-systemd-service-1][Activate systemd Service]]
|
||||||
- [[#add-user-to-docker-group][Add User to docker Group]]
|
- [[#add-user-to-docker-group][Add User to docker Group]]
|
||||||
- [[#libreoffice][LibreOffice]]
|
- [[#libreoffice][LibreOffice]]
|
||||||
- [[#installation-8][Installation]]
|
- [[#installation-9][Installation]]
|
||||||
- [[#texmaths-extension][TexMaths Extension]]
|
- [[#texmaths-extension][TexMaths Extension]]
|
||||||
- [[#writer2latex-extension][Writer2LaTeX Extension]]
|
- [[#writer2latex-extension][Writer2LaTeX Extension]]
|
||||||
- [[#spell-checking][Spell-Checking]]
|
- [[#spell-checking][Spell-Checking]]
|
||||||
@@ -141,7 +150,7 @@
|
|||||||
- [[#yt-dlp][yt-dlp]]
|
- [[#yt-dlp][yt-dlp]]
|
||||||
- [[#zip][zip]]
|
- [[#zip][zip]]
|
||||||
- [[#misc][Misc]]
|
- [[#misc][Misc]]
|
||||||
- [[#latex][LaTeX]]
|
- [[#latex-1][LaTeX]]
|
||||||
- [[#cups][CUPS]]
|
- [[#cups][CUPS]]
|
||||||
- [[#darktable][Darktable]]
|
- [[#darktable][Darktable]]
|
||||||
- [[#eye-of-gnome-image-viewer][Eye of GNOME Image Viewer]]
|
- [[#eye-of-gnome-image-viewer][Eye of GNOME Image Viewer]]
|
||||||
@@ -2244,10 +2253,9 @@ if [ ! -x "$FILE" ]; then
|
|||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
* Text Editors
|
* Doom Emacs
|
||||||
** Doom Emacs
|
** Installation
|
||||||
*** Installation
|
*** [[https://github.com/doomemacs/doomemacs#prerequisites][Prerequisites]]
|
||||||
**** [[https://github.com/doomemacs/doomemacs#prerequisites][Prerequisites]]
|
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
git
|
git
|
||||||
emacs
|
emacs
|
||||||
@@ -2255,7 +2263,7 @@ ripgrep
|
|||||||
findutils
|
findutils
|
||||||
fd
|
fd
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Doom Installation
|
*** Doom Installation
|
||||||
~update.sh~ will install Doom Emacs if needed
|
~update.sh~ will install Doom Emacs if needed
|
||||||
#+begin_src shell :tangle update.sh
|
#+begin_src shell :tangle update.sh
|
||||||
if [ ! -d "/home/paul/.config/doom" ]; then
|
if [ ! -d "/home/paul/.config/doom" ]; then
|
||||||
@@ -2264,11 +2272,11 @@ if [ ! -d "/home/paul/.config/doom" ]; then
|
|||||||
/home/paul/.config/emacs/bin/doom install-devel
|
/home/paul/.config/emacs/bin/doom install-devel
|
||||||
fi
|
fi
|
||||||
#+end_src
|
#+end_src
|
||||||
**** add to PATH
|
*** add to PATH
|
||||||
#+begin_src shell :tangle ~/.path.sh
|
#+begin_src shell :tangle ~/.path.sh
|
||||||
export PATH=$PATH:~/.config/emacs/bin
|
export PATH=$PATH:~/.config/emacs/bin
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Doom Modules
|
** Doom Modules
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/init.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/init.el
|
||||||
(doom! :input
|
(doom! :input
|
||||||
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
;;bidi ; (tfel ot) thgir etirw uoy gnipleh
|
||||||
@@ -2434,7 +2442,7 @@ export PATH=$PATH:~/.config/emacs/bin
|
|||||||
;;zig ; C, but simpler
|
;;zig ; C, but simpler
|
||||||
|
|
||||||
:email
|
:email
|
||||||
;;(mu4e +org +gmail)
|
(mu4e +org +gmail)
|
||||||
;;notmuch
|
;;notmuch
|
||||||
;;(wanderlust +gmail)
|
;;(wanderlust +gmail)
|
||||||
|
|
||||||
@@ -2451,15 +2459,15 @@ export PATH=$PATH:~/.config/emacs/bin
|
|||||||
(default +bindings +smartparens))
|
(default +bindings +smartparens))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** General Configuration
|
** General Configuration
|
||||||
**** User Information
|
*** User Information
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(setq user-full-name "Paul Lödige"
|
(setq user-full-name "Paul Lödige"
|
||||||
user-mail-address "paul@gve-loedige.de")
|
user-mail-address "paul@gve-loedige.de")
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Visual Settings
|
*** Visual Settings
|
||||||
***** Font
|
**** Font
|
||||||
install Ubuntu Mono
|
install Ubuntu Mono
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
ttf-ubuntu-font-family
|
ttf-ubuntu-font-family
|
||||||
@@ -2475,29 +2483,29 @@ and activate it
|
|||||||
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 14))
|
doom-variable-pitch-font (font-spec :family "Ubuntu" :size 14))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
***** Line Numbering
|
**** Line Numbering
|
||||||
having used Neovim for quiet some time I got used to relative line numbering for navigation.
|
having used Neovim for quiet some time I got used to relative line numbering for navigation.
|
||||||
Until I get used to the [[https://github.com/Greduan/emacs-theme-gruvbox][evil-snipe]] navigation I would like to keep them.
|
Until I get used to the [[https://github.com/Greduan/emacs-theme-gruvbox][evil-snipe]] navigation I would like to keep them.
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(setq display-line-numbers-type 'relative)
|
(setq display-line-numbers-type 'relative)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
**** Authentication
|
*** Authentication
|
||||||
Authentication information will be stored in a encrypted file that is part of my dotfiles
|
Authentication information will be stored in a encrypted file that is part of my dotfiles
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(setq auth-sources
|
(setq auth-sources
|
||||||
'((:source "~/.authinfo.gpg")))
|
'((:source "~/.authinfo.gpg")))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Start Daemon on Startup
|
*** Start Daemon on Startup
|
||||||
#+begin_src shell :tangle ~/.autostart.sh
|
#+begin_src shell :tangle ~/.autostart.sh
|
||||||
emacs --daemon &
|
emacs --daemon &
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Misc
|
*** Misc
|
||||||
***** Set Start of Week to Monday
|
**** Set Start of Week to Monday
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/init.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/init.el
|
||||||
(setq calendar-week-start-day 1)
|
(setq calendar-week-start-day 1)
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Multilanguage Spellcheck
|
** Multilanguage Spellcheck
|
||||||
Enables use of multiple dictionaries. In my case German and English
|
Enables use of multiple dictionaries. In my case German and English
|
||||||
install dependencies
|
install dependencies
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
@@ -2514,12 +2522,12 @@ and configure it
|
|||||||
(ispell-hunspell-add-multi-dic "en_US,de_DE"))
|
(ispell-hunspell-add-multi-dic "en_US,de_DE"))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** LaTeX
|
** LaTeX
|
||||||
**** Set PDF Viewer
|
*** Set PDF Viewer
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(setq +latex-viewers '(zathura))
|
(setq +latex-viewers '(zathura))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Add shell-escape Toggle Command
|
*** Add shell-escape Toggle Command
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
(defun TeX-command-toggle-shell-escape ()
|
(defun TeX-command-toggle-shell-escape ()
|
||||||
(interactive)
|
(interactive)
|
||||||
@@ -2531,25 +2539,48 @@ and configure it
|
|||||||
(message "TeX-command-extra-options : `%s'" TeX-command-extra-options))
|
(message "TeX-command-extra-options : `%s'" TeX-command-extra-options))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Org Mode
|
** mu4e
|
||||||
**** Dependencies
|
*** mu Installation
|
||||||
|
#+begin_src config :tangle pkg-list.txt
|
||||||
|
mu
|
||||||
|
#+end_src
|
||||||
|
*** isync Installation
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
isync
|
||||||
|
#+end_src
|
||||||
|
*** msmtp Installation
|
||||||
|
#+begin_src shell :tangle pkg-list.txt
|
||||||
|
msmtp
|
||||||
|
#+end_src
|
||||||
|
**** recommended config
|
||||||
|
#+begin_src emacs-lisp :tangle ~/.config/doom/config.el
|
||||||
|
(after! mu4e
|
||||||
|
(setq sendmail-program (executable-find "msmtp")
|
||||||
|
send-mail-function #'smtpmail-send-it
|
||||||
|
message-sendmail-f-is-evil t
|
||||||
|
message-sendmail-extra-arguments '("--read-envelope-from")
|
||||||
|
message-send-mail-function #'message-send-mail-with-sendmail))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
** Org Mode
|
||||||
|
*** Dependencies
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
xclip
|
xclip
|
||||||
gnome-screenshot
|
gnome-screenshot
|
||||||
graphviz
|
graphviz
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Default Location
|
*** Default Location
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(setq org-directory "~/org/")
|
(setq org-directory "~/org/")
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Visual
|
*** Visual
|
||||||
***** Header Styling
|
**** Header Styling
|
||||||
****** Enable Header Numbering
|
***** Enable Header Numbering
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-startup-numerated t))
|
(setq org-startup-numerated t))
|
||||||
#+end_src
|
#+end_src
|
||||||
****** Header Font Sizes
|
***** Header Font Sizes
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(custom-set-faces
|
(custom-set-faces
|
||||||
@@ -2559,21 +2590,21 @@ graphviz
|
|||||||
'(org-level-3 ((t(:inherit outline-3 :height 1.2))))
|
'(org-level-3 ((t(:inherit outline-3 :height 1.2))))
|
||||||
'(org-level-4 ((t(:inherit outline-4 :height 1.1))))))
|
'(org-level-4 ((t(:inherit outline-4 :height 1.1))))))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Misc Text Styling
|
**** Misc Text Styling
|
||||||
****** Hide Emphasis Markers
|
***** Hide Emphasis Markers
|
||||||
*bold* /italic/ +strikethrough+ etc. should not have markers next to them
|
*bold* /italic/ +strikethrough+ etc. should not have markers next to them
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-hide-emphasis-markers t))
|
(setq org-hide-emphasis-markers t))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Image Display as Default
|
**** Image Display as Default
|
||||||
[[https://emacs.stackexchange.com/questions/57603/how-to-always-display-inline-images-by-default-existing-solutions-dont-seem-to#comment89772_57607][this stackexchange comment]] states that this has to be done before the [[Add "~/org" to Agenda][adding the ~/org directory to Org Agenda]]
|
[[https://emacs.stackexchange.com/questions/57603/how-to-always-display-inline-images-by-default-existing-solutions-dont-seem-to#comment89772_57607][this stackexchange comment]] states that this has to be done before the [[Add "~/org" to Agenda][adding the ~/org directory to Org Agenda]]
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-startup-with-inline-images t)
|
(setq org-startup-with-inline-images t)
|
||||||
(setq org-image-actual-width '(600)))
|
(setq org-image-actual-width '(600)))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Open Video in VLC
|
**** Open Video in VLC
|
||||||
this requires the [[https://www.emacswiki.org/emacs/OpenWith][OpenWith]] minor mode and VLC
|
this requires the [[https://www.emacswiki.org/emacs/OpenWith][OpenWith]] minor mode and VLC
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
||||||
(package! openwith)
|
(package! openwith)
|
||||||
@@ -2596,12 +2627,12 @@ then the configuration from [[https://www.reddit.com/r/emacs/comments/cgbpvl/com
|
|||||||
"xdg-open" (file))))))
|
"xdg-open" (file))))))
|
||||||
(openwith-mode +1))
|
(openwith-mode +1))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Enable $\LaTeX$ preview on default
|
**** Enable $\LaTeX$ preview on default
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-startup-latex-with-latex-preview t))
|
(setq org-startup-latex-with-latex-preview t))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Fix $\LaTeX$ block alignment in tables with valign
|
**** Fix $\LaTeX$ block alignment in tables with valign
|
||||||
install valign
|
install valign
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
||||||
(package! valign)
|
(package! valign)
|
||||||
@@ -2611,20 +2642,20 @@ and start it automatically in org mode
|
|||||||
(after! org
|
(after! org
|
||||||
(add-hook 'org-mode-hook #'valign-mode))
|
(add-hook 'org-mode-hook #'valign-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** CalDAV Sync
|
*** CalDAV Sync
|
||||||
[[https://github.com/dengste/org-caldav][org-caldav]] provides a tool for syncing with a CalDAV server (in my case Nextcloud).
|
[[https://github.com/dengste/org-caldav][org-caldav]] provides a tool for syncing with a CalDAV server (in my case Nextcloud).
|
||||||
A lot of the config is also taken from [[https://www.reddit.com/r/orgmode/comments/8rl8ep/comment/e0sb5j0/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button][this]] reddit post.
|
A lot of the config is also taken from [[https://www.reddit.com/r/orgmode/comments/8rl8ep/comment/e0sb5j0/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button][this]] reddit post.
|
||||||
***** org-caldav installation
|
**** org-caldav installation
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
||||||
(package! org-caldav)
|
(package! org-caldav)
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Enable TODOs
|
**** Enable TODOs
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org-caldav
|
(after! org-caldav
|
||||||
(setq org-icalendar-include-todo 'all
|
(setq org-icalendar-include-todo 'all
|
||||||
org-caldav-sync-todo t))
|
org-caldav-sync-todo t))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Configure Sync
|
**** Configure Sync
|
||||||
add the calendars to the org-caldav config
|
add the calendars to the org-caldav config
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org-caldav
|
(after! org-caldav
|
||||||
@@ -2633,8 +2664,8 @@ add the calendars to the org-caldav config
|
|||||||
(setq org-caldav-calendars
|
(setq org-caldav-calendars
|
||||||
'((:calendar-id "todo" :files ("~/org/todo.org")))))
|
'((:calendar-id "todo" :files ("~/org/todo.org")))))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Org Agenda Setup
|
*** Org Agenda Setup
|
||||||
***** Progress States
|
**** Progress States
|
||||||
To get a more nuanced overview of my current TODOs I add more progress states.
|
To get a more nuanced overview of my current TODOs I add more progress states.
|
||||||
| | INACTIVE | TODO | BLOCKED | IN_PROGRESS | REVIEW | TESTING | | DONE | DELEGATED | CANCELED | |
|
| | INACTIVE | TODO | BLOCKED | IN_PROGRESS | REVIEW | TESTING | | DONE | DELEGATED | CANCELED | |
|
||||||
|------------+----------+------+---------+-------------+--------+---------+---+------+-----------+----------+---|
|
|------------+----------+------+---------+-------------+--------+---------+---+------+-----------+----------+---|
|
||||||
@@ -2650,7 +2681,7 @@ Also set the percent states for [[*CalDAV Sync][CalDAV Sync]]
|
|||||||
(after! org-caldav
|
(after! org-caldav
|
||||||
(setq org-caldav-todo-percent-states '((0 "INACTIVE") (1 "TODO") (2 "IN_PROGRESS") (3 "BLOCKED") (90 "REVIEW") (90 "TESTING") (100 "DONE") (100 "DELEGATED") (100 "CANCELED"))))
|
(setq org-caldav-todo-percent-states '((0 "INACTIVE") (1 "TODO") (2 "IN_PROGRESS") (3 "BLOCKED") (90 "REVIEW") (90 "TESTING") (100 "DONE") (100 "DELEGATED") (100 "CANCELED"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Add "~/org" to Agenda
|
**** Add "~/org" to Agenda
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-agenda-files (f-files "~/org"
|
(setq org-agenda-files (f-files "~/org"
|
||||||
@@ -2658,8 +2689,8 @@ Also set the percent states for [[*CalDAV Sync][CalDAV Sync]]
|
|||||||
(string= (f-ext f) "org"))
|
(string= (f-ext f) "org"))
|
||||||
'recursive)))
|
'recursive)))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Styling
|
**** Styling
|
||||||
****** Priorities
|
***** Priorities
|
||||||
using [[https://github.com/harrybournis/org-fancy-priorities][org-fancy-priorites]] the displayed priorities can be styled
|
using [[https://github.com/harrybournis/org-fancy-priorities][org-fancy-priorites]] the displayed priorities can be styled
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org-fancy-priorities
|
(after! org-fancy-priorities
|
||||||
@@ -2668,15 +2699,15 @@ using [[https://github.com/harrybournis/org-fancy-priorities][org-fancy-priorite
|
|||||||
(?C . "LOW")
|
(?C . "LOW")
|
||||||
(?D . "OPTIONAL"))))
|
(?D . "OPTIONAL"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Org Roam
|
*** Org Roam
|
||||||
***** set base directory
|
**** set base directory
|
||||||
Both the org files themselves and the database should be located in the same directory to enable syncing via Nextcloud
|
Both the org files themselves and the database should be located in the same directory to enable syncing via Nextcloud
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-roam-directory (file-truename "~/org/org-roam"))
|
(setq org-roam-directory (file-truename "~/org/org-roam"))
|
||||||
(org-roam-db-autosync-mode))
|
(org-roam-db-autosync-mode))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Note Templates
|
**** Note Templates
|
||||||
This contains all the capture templates I am using.
|
This contains all the capture templates I am using.
|
||||||
Adding the "#+category: " tag improves the Org Agenda View for tasks captured in Org Roam
|
Adding the "#+category: " tag improves the Org Agenda View for tasks captured in Org Roam
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
@@ -2697,27 +2728,27 @@ Adding the "#+category: " tag improves the Org Agenda View for tasks captured in
|
|||||||
:unnarrowed t)
|
:unnarrowed t)
|
||||||
)))
|
)))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Misc
|
**** Misc
|
||||||
****** Follow Links on RET
|
***** Follow Links on RET
|
||||||
Because the normal shortcut for `org-open-at-point` is quite cumbersome I want it to just follow links when clicking the RET button
|
Because the normal shortcut for `org-open-at-point` is quite cumbersome I want it to just follow links when clicking the RET button
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! org
|
(after! org
|
||||||
(setq return-follows-link t))
|
(setq return-follows-link t))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Org-GTD
|
*** Org-GTD
|
||||||
***** Installation
|
**** Installation
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
||||||
(package! org-gtd)
|
(package! org-gtd)
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Configuration
|
**** Configuration
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
|
(setq org-gtd-update-ack "3.0.0")
|
||||||
(use-package! org-gtd
|
(use-package! org-gtd
|
||||||
:after org
|
:after org
|
||||||
:config
|
:config
|
||||||
(setq org-gtd-directory "~/org/org-gtd/")
|
(setq org-gtd-directory "~/org/org-gtd/")
|
||||||
(setq org-edna-use-inheritance t)
|
(setq org-edna-use-inheritance t)
|
||||||
(org-edna-mode)
|
(org-edna-mode)
|
||||||
(setq org-gtd-update-ack "3.0.0")
|
|
||||||
(map! :leader
|
(map! :leader
|
||||||
(:prefix ("d" . "org-gtd")
|
(:prefix ("d" . "org-gtd")
|
||||||
:desc "Capture" "c" #'org-gtd-capture
|
:desc "Capture" "c" #'org-gtd-capture
|
||||||
@@ -2728,13 +2759,13 @@ Because the normal shortcut for `org-open-at-point` is quite cumbersome I want i
|
|||||||
(map! :map org-gtd-clarify-map
|
(map! :map org-gtd-clarify-map
|
||||||
:desc "Organize this item" "C-c c" #'org-gtd-organize))
|
:desc "Organize this item" "C-c c" #'org-gtd-organize))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Org Transclusion
|
*** Org Transclusion
|
||||||
***** Installation
|
**** Installation
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/packages.el
|
||||||
(package! org-transclusion)
|
(package! org-transclusion)
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Bibliography
|
*** Bibliography
|
||||||
***** Enabling Zotero Links
|
**** Enabling Zotero Links
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
zotero
|
zotero
|
||||||
#+end_src
|
#+end_src
|
||||||
@@ -2747,15 +2778,15 @@ Following [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html
|
|||||||
(browse-url
|
(browse-url
|
||||||
(format "zotero:%s" zpath)))))
|
(format "zotero:%s" zpath)))))
|
||||||
#+end_src
|
#+end_src
|
||||||
***** Citar Config
|
**** Citar Config
|
||||||
****** Setting the Citar Bibliography
|
***** Setting the Citar Bibliography
|
||||||
Following the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/biblio][Doom Emacs documentation ]]we set the citar bibliography and notes paths
|
Following the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/biblio][Doom Emacs documentation ]]we set the citar bibliography and notes paths
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! oc
|
(after! oc
|
||||||
(setq citar-bibliography '("~/org/biblio.bib"))
|
(setq citar-bibliography '("~/org/biblio.bib"))
|
||||||
(setq citar-notes-paths '("~/org/org-roam/")))
|
(setq citar-notes-paths '("~/org/org-roam/")))
|
||||||
#+end_src
|
#+end_src
|
||||||
****** Citar Templates
|
***** Citar Templates
|
||||||
Following the [[https://github.com/emacs-citar/citar#configuration][citar package documentation]] we modify the note template to contain the pdf link to Zotero
|
Following the [[https://github.com/emacs-citar/citar#configuration][citar package documentation]] we modify the note template to contain the pdf link to Zotero
|
||||||
*NOTE:* This requires the a [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#opening-zotero-pdf-from-org-roam][specific Zotero Export Configuration]]
|
*NOTE:* This requires the a [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#opening-zotero-pdf-from-org-roam][specific Zotero Export Configuration]]
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
@@ -2766,7 +2797,7 @@ Following the [[https://github.com/emacs-citar/citar#configuration][citar packag
|
|||||||
(preview . "${author editor:%etal} (${year issued date}) ${title}, ${journal journaltitle publisher container-title collection-title}.\n")
|
(preview . "${author editor:%etal} (${year issued date}) ${title}, ${journal journaltitle publisher container-title collection-title}.\n")
|
||||||
(note . "Notes on ${author editor:%etal}, ${title}\npdf: ${file}"))))
|
(note . "Notes on ${author editor:%etal}, ${title}\npdf: ${file}"))))
|
||||||
#+end_src
|
#+end_src
|
||||||
****** Enable Zotero Link Support
|
***** Enable Zotero Link Support
|
||||||
In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar][this tutorial]] I found the config for enabling Zotero Link Support through Citar
|
In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar][this tutorial]] I found the config for enabling Zotero Link Support through Citar
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! citar
|
(after! citar
|
||||||
@@ -2779,7 +2810,7 @@ In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar]
|
|||||||
|
|
||||||
(add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external)))
|
(add-to-list 'citar-file-open-functions '("pdf" . citar-file-open-external)))
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Poly-Org
|
*** Poly-Org
|
||||||
[[Polymode]] for Org
|
[[Polymode]] for Org
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
||||||
(package! poly-org)
|
(package! poly-org)
|
||||||
@@ -2789,13 +2820,13 @@ In [[https://www.riccardopinosio.com/blog/posts/zotero_notes_article.html#citar]
|
|||||||
;; (require 'poly-org))
|
;; (require 'poly-org))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Polymode
|
** Polymode
|
||||||
[[https://polymode.github.io/][Polymode]] enables using multiple major modes inside a single buffer.
|
[[https://polymode.github.io/][Polymode]] enables using multiple major modes inside a single buffer.
|
||||||
This is especially useful for Org Mode as it allows for better code editing inside code blocks
|
This is especially useful for Org Mode as it allows for better code editing inside code blocks
|
||||||
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
#+begin_src emacs-lisp :tangle ~/.config/doom/packages.el
|
||||||
(package! polymode)
|
(package! polymode)
|
||||||
#+end_src
|
#+end_src
|
||||||
*** Python
|
** Python
|
||||||
install dependencies
|
install dependencies
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
python-isort
|
python-isort
|
||||||
@@ -2803,13 +2834,14 @@ python-pipenv
|
|||||||
python-pytest
|
python-pytest
|
||||||
pyright
|
pyright
|
||||||
#+end_src
|
#+end_src
|
||||||
**** Set Debugger to debugpy
|
*** Set Debugger to debugpy
|
||||||
as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/debugger#dap-python][Doom Emacs Documentation]] it is recommended to set the debugger used for python debugging to debugpy
|
as per the [[https://github.com/doomemacs/doomemacs/tree/master/modules/tools/debugger#dap-python][Doom Emacs Documentation]] it is recommended to set the debugger used for python debugging to debugpy
|
||||||
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
#+begin_src emacs-lisp :mkdirp yes :tangle ~/.config/doom/config.el
|
||||||
(after! dap-mode
|
(after! dap-mode
|
||||||
(setq dap-python-debugger 'debugpy))
|
(setq dap-python-debugger 'debugpy))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
* Text Editors
|
||||||
** VSCode
|
** VSCode
|
||||||
*** Installation
|
*** Installation
|
||||||
#+begin_src conf :tangle pkg-list.txt
|
#+begin_src conf :tangle pkg-list.txt
|
||||||
|
|||||||
Reference in New Issue
Block a user