mirror of
https://github.com/alrayyes/dotfiles/
synced 2023-11-14 15:56:30 +00:00
Cleaned up org config & installed org-roam
This commit is contained in:
parent
4c9f9bcd94
commit
349e8b0f2e
@ -52,6 +52,7 @@ A repository of my personal configuration files.
|
|||||||
- [[https://github.com/junegunn/fzf][fzf]]
|
- [[https://github.com/junegunn/fzf][fzf]]
|
||||||
- [[https://gnupg.org/][gnupg]]
|
- [[https://gnupg.org/][gnupg]]
|
||||||
- [[https://golang.org/][golang]]
|
- [[https://golang.org/][golang]]
|
||||||
|
- [[https://graphviz.org/][graphviz]]
|
||||||
- [[https://imagemagick.org/index.php][ImageMagick]]
|
- [[https://imagemagick.org/index.php][ImageMagick]]
|
||||||
- [[http://isync.sourceforge.net/mbsync.html][isync]]
|
- [[http://isync.sourceforge.net/mbsync.html][isync]]
|
||||||
- [[https://github.com/canonical/lightdm][LightDM]]
|
- [[https://github.com/canonical/lightdm][LightDM]]
|
||||||
|
@ -1,23 +1,31 @@
|
|||||||
* Table of Contents :TOC_3:noexport:
|
* Table of Contents :TOC_3:noexport:
|
||||||
- [[#general-settings][General settings]]
|
- [[#general-settings][General settings]]
|
||||||
|
- [[#variable-font-sizes-depending-on-screen-width-set-font-to-jetbrains-mono][Variable font sizes depending on screen width. Set font to JetBrains Mono]]
|
||||||
|
- [[#theme-is-set-to-doom-molokai-from-doom-themes][Theme is set to doom-molokai from doom-themes]]
|
||||||
|
- [[#fetch-password-from-authinfo][Fetch password from authinfo]]
|
||||||
- [[#projectile][Projectile]]
|
- [[#projectile][Projectile]]
|
||||||
|
- [[#set-default-paths-projectile-should-search][Set default paths projectile should search]]
|
||||||
- [[#circe][Circe]]
|
- [[#circe][Circe]]
|
||||||
|
- [[#connect-to-znc-passwords-are-gotten-from-password-store][Connect to ZNC. Passwords are gotten from Password Store.]]
|
||||||
- [[#org-mode][Org mode]]
|
- [[#org-mode][Org mode]]
|
||||||
- [[#general-settings-1][General settings]]
|
- [[#general-settings-1][General settings]]
|
||||||
|
- [[#when-moving-entries-up-and-down-in-the-buffer-use-j-and-k-instead-of--and-][When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`]]
|
||||||
|
- [[#auto-save-org-mode-files][Auto save org-mode files]]
|
||||||
- [[#org-protocol-capture-html][org-protocol-capture-html]]
|
- [[#org-protocol-capture-html][org-protocol-capture-html]]
|
||||||
|
- [[#require-package][Require package]]
|
||||||
- [[#org-capture-templates][org-capture-templates]]
|
- [[#org-capture-templates][org-capture-templates]]
|
||||||
- [[#capture-web-data-for-org-protocol-capture-html][Capture web data for org-protocol-capture-html]]
|
- [[#capture-web-data-for-org-protocol-capture-html][Capture web data for org-protocol-capture-html]]
|
||||||
- [[#mu4e][mu4e]]
|
- [[#mu4e][mu4e]]
|
||||||
|
- [[#setup-mu4e-with-multiple-profiles][Setup mu4e with multiple profiles]]
|
||||||
- [[#elfeed][Elfeed]]
|
- [[#elfeed][Elfeed]]
|
||||||
- [[#elfeed-and-elfeed-protocol-to-read-feeds][elfeed and elfeed-protocol to read feeds.]]
|
- [[#elfeed-and-elfeed-protocol-to-read-feeds][elfeed and elfeed-protocol to read feeds.]]
|
||||||
- [[#elfeed-org][elfeed-org]]
|
- [[#elfeed-org][elfeed-org]]
|
||||||
- [[#elfeed-goodies][elfeed-goodies]]
|
- [[#elfeed-goodies][elfeed-goodies]]
|
||||||
- [[#spelling][Spelling]]
|
- [[#spelling][Spelling]]
|
||||||
|
- [[#set-dictionaries-for-languages-i-use][Set dictionaries for languages I use]]
|
||||||
|
|
||||||
* General settings
|
* General settings
|
||||||
[[https://raw.githubusercontent.com/hlissner/emacs-doom-themes/screenshots/doom-molokai.png][doom-molokai screenshot]]
|
** Variable font sizes depending on screen width. Set font to [[https://www.jetbrains.com/lp/mono/][JetBrains Mono]]
|
||||||
|
|
||||||
Variable font sizes depending on screen width. Set font to [[https://www.jetbrains.com/lp/mono/][JetBrains Mono]]
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(when window-system
|
(when window-system
|
||||||
(if (> (x-display-pixel-width) 2560)
|
(if (> (x-display-pixel-width) 2560)
|
||||||
@ -25,12 +33,11 @@ Variable font sizes depending on screen width. Set font to [[https://www.jetbrai
|
|||||||
(setq doom-font (font-spec :family "JetBrains Mono" :size 16))))
|
(setq doom-font (font-spec :family "JetBrains Mono" :size 16))))
|
||||||
|
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
Theme is set to doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
|
** Theme is set to doom-molokai from [[https://github.com/hlissner/emacs-doom-themes][doom-themes]]
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(setq doom-theme 'doom-molokai)
|
(setq doom-theme 'doom-molokai)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
** Fetch password from authinfo
|
||||||
Fetch password from authinfo
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(defun my-fetch-password (&rest params)
|
(defun my-fetch-password (&rest params)
|
||||||
(require 'auth-source)
|
(require 'auth-source)
|
||||||
@ -43,17 +50,14 @@ Fetch password from authinfo
|
|||||||
(error "Password not found for %S" params))))
|
(error "Password not found for %S" params))))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* [[https://www.projectile.mx/en/latest/][Projectile]]
|
* [[https://www.projectile.mx/en/latest/][Projectile]]
|
||||||
Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search
|
** Set default paths [[https://www.projectile.mx/en/latest/][projectile]] should search
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package! projectile
|
(use-package! projectile
|
||||||
:config
|
:config
|
||||||
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles"))) ; Default paths
|
(setq projectile-project-search-path '("~/devel/personal/" "~/devel/andthensome/" "~/Documents/" "~/dotfiles" "~/private-dotfiles"))) ; Default paths
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* [[https://github.com/jorgenschaefer/circe][Circe]]
|
* [[https://github.com/jorgenschaefer/circe][Circe]]
|
||||||
Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]].
|
** Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https://www.passwordstore.org/][Password Store]].
|
||||||
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package! circe
|
(use-package! circe
|
||||||
:config
|
:config
|
||||||
@ -79,10 +83,9 @@ Connect to [[https://wiki.znc.in/ZNC][ZNC]]. Passwords are gotten from [[https:/
|
|||||||
)
|
)
|
||||||
(add-hook 'circe-channel-mode-hook 'enable-lui-autopaste)
|
(add-hook 'circe-channel-mode-hook 'enable-lui-autopaste)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
* [[https://orgmode.org/][Org mode]]
|
* [[https://orgmode.org/][Org mode]]
|
||||||
** General settings
|
** General settings
|
||||||
When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`
|
*** When moving entries up and down in the buffer use `j` and `k` instead of `↑` and `↓`
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(after! org
|
(after! org
|
||||||
(map! :map org-mode-map
|
(map! :map org-mode-map
|
||||||
@ -90,8 +93,7 @@ When moving entries up and down in the buffer use `j` and `k` instead of `↑` a
|
|||||||
:n "M-k" #'org-metaup)
|
:n "M-k" #'org-metaup)
|
||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
*** Auto save org-mode files
|
||||||
Auto save org-mode files
|
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(add-hook 'auto-save-hook 'org-save-all-org-buffers)
|
(add-hook 'auto-save-hook 'org-save-all-org-buffers)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -106,7 +108,7 @@ Auto save org-mode files
|
|||||||
org-startup-with-inline-images t)
|
org-startup-with-inline-images t)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]]
|
** [[https://github.com/alphapapa/org-protocol-capture-html][org-protocol-capture-html]]
|
||||||
Require package
|
*** Require package
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package! org-protocol-capture-html)
|
(use-package! org-protocol-capture-html)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
@ -120,7 +122,7 @@ Require package
|
|||||||
)
|
)
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* [[https://www.djcbsoftware.nl/code/mu/mu4e.html][mu4e]]
|
* [[https://www.djcbsoftware.nl/code/mu/mu4e.html][mu4e]]
|
||||||
Setup mu4e with multiple profiles
|
** Setup mu4e with multiple profiles
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(use-package! mu4e
|
(use-package! mu4e
|
||||||
:config
|
:config
|
||||||
@ -227,7 +229,7 @@ Setup mu4e with multiple profiles
|
|||||||
(elfeed-goodies/setup))
|
(elfeed-goodies/setup))
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
* Spelling
|
* Spelling
|
||||||
Set dictionaries for languages I use
|
** Set dictionaries for languages I use
|
||||||
#+BEGIN_SRC emacs-lisp
|
#+BEGIN_SRC emacs-lisp
|
||||||
(with-eval-after-load "ispell"
|
(with-eval-after-load "ispell"
|
||||||
(setq ispell-program-name "hunspell")
|
(setq ispell-program-name "hunspell")
|
||||||
|
@ -77,11 +77,11 @@
|
|||||||
ledger ; an accounting system in Emacs
|
ledger ; an accounting system in Emacs
|
||||||
markdown ; writing docs for people to ignore
|
markdown ; writing docs for people to ignore
|
||||||
(org ; organize your plain life in plain text
|
(org ; organize your plain life in plain text
|
||||||
|
+roam
|
||||||
+dragndrop ; drag & drop files/images into org buffers
|
+dragndrop ; drag & drop files/images into org buffers
|
||||||
+ipython ; ipython/jupyter support for babel
|
|
||||||
+pandoc ; export-with-pandoc support
|
+pandoc ; export-with-pandoc support
|
||||||
+present) ; using org-mode for presentations
|
+present) ; using org-mode for presentations
|
||||||
(php
|
(php
|
||||||
+lsp) ; perl's insecure younger brother
|
+lsp) ; perl's insecure younger brother
|
||||||
(python
|
(python
|
||||||
+lsp) ; beautiful is better than ugly
|
+lsp) ; beautiful is better than ugly
|
||||||
|
2
install
2
install
@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env fish
|
#!/usr/bin/env fish
|
||||||
|
|
||||||
# Prerequisite & inistalled apps
|
# Prerequisite & inistalled apps
|
||||||
set prerequisiteApps bat broot brave caffeine-ng exa fzf go isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
|
set prerequisiteApps bat broot brave caffeine-ng exa fzf go graphviz isync imagemagick lightdm-gtk-greeter mailcap mpv deadd-notification-center-bin npm pamixer pfetch pulseaudio pulsemixer python pywal stow sxiv tldr udisks xwallpaper zathura
|
||||||
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
|
set prerequisiteFonts otf-nerd-fonts-fira-code noto-fonts ttf-unifont
|
||||||
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server vscode-css-languageserver vscode-html-languageserver nodejs-intelephense
|
set prerequisiteLsp bash-language-server ccls php-language-server python-language-server typescript-language-server vscode-css-languageserver vscode-html-languageserver nodejs-intelephense
|
||||||
set configuredApps alacritty bspwm castero emacs firejail git gnupg gtk lf deadd-notification-center-bin mpd ncmpcpp neomutt neovim picom redshift sxhkd tmux tuir weechat
|
set configuredApps alacritty bspwm castero emacs firejail git gnupg gtk lf deadd-notification-center-bin mpd ncmpcpp neomutt neovim picom redshift sxhkd tmux tuir weechat
|
||||||
|
Loading…
Reference in New Issue
Block a user