1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Ryan Kes
2e15f46ed9 Setup org-roam 2020-06-13 18:27:06 +02:00
Ryan Kes
f0b942edaa Remap shorts to ctrl+alt 2020-06-13 18:26:38 +02:00
4 changed files with 36 additions and 15 deletions

View File

@ -7,6 +7,8 @@
- [[#set-default-paths-projectile-should-search][Set default paths projectile should search]] - [[#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.]] - [[#connect-to-znc-passwords-are-gotten-from-password-store][Connect to ZNC. Passwords are gotten from Password Store.]]
- [[#deft][Deft]]
- [[#deft-should-use-org-roam-directory][Deft should use org-roam directory]]
- [[#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 `↓`]] - [[#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 `↓`]]
@ -15,6 +17,10 @@
- [[#require-package][Require package]] - [[#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]]
- [[#org-roam][org-roam]]
- [[#set-directory][Set directory]]
- [[#org-journal][org-journal]]
- [[#get-org-journal-to-work-nicely-with-org-roam][Get org-journal to work nicely with org-roam]]
- [[#mu4e][mu4e]] - [[#mu4e][mu4e]]
- [[#setup-mu4e-with-multiple-profiles][Setup mu4e with multiple profiles]] - [[#setup-mu4e-with-multiple-profiles][Setup mu4e with multiple profiles]]
- [[#elfeed][Elfeed]] - [[#elfeed][Elfeed]]
@ -25,8 +31,6 @@
- [[#set-dictionaries-for-languages-i-use][Set dictionaries for languages I use]] - [[#set-dictionaries-for-languages-i-use][Set dictionaries for languages I use]]
- [[#markdown][Markdown]] - [[#markdown][Markdown]]
- [[#open-mdx-files-in-markdown-mode][Open mdx files in markdown-mode]] - [[#open-mdx-files-in-markdown-mode][Open mdx files in markdown-mode]]
- [[#haskell][Haskell]]
- [[#auto-format-haskell-code-on-save][Auto format Haskell code on save]]
* General settings * General settings
** 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]]
@ -87,6 +91,12 @@
) )
(add-hook 'circe-channel-mode-hook 'enable-lui-autopaste) (add-hook 'circe-channel-mode-hook 'enable-lui-autopaste)
#+END_SRC #+END_SRC
** [[https://jblevins.org/projects/deft/][Deft]]
*** Deft should use org-roam directory
#+BEGIN_SRC emacs-lisp
(setq deft-directory "~/Documents/org-roam")
#+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 `↓`
@ -125,6 +135,19 @@
"* %c\n%U %?%:initial")) "* %c\n%U %?%:initial"))
) )
#+END_SRC #+END_SRC
** [[https://github.com/org-roam/org-roam][org-roam]]
*** Set directory
#+BEGIN_SRC emacs-lisp
(setq org-roam-directory "~/Documents/org-roam")
#+END_SRC
** [[https://github.com/bastibe/org-journal][org-journal]]
*** Get org-journal to work nicely with org-roam
#+BEGIN_SRC emacs-lisp
(setq org-journal-dir "~/Documents/org-roam")
(setq org-journal-date-prefix "#+title: ")
(setq org-journal-file-format "%Y-%m-%d.org")
(setq org-journal-date-format "%A, %d %B %Y"))
#+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
@ -248,9 +271,3 @@
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(add-to-list 'auto-mode-alist '("\\.mdx\\'" . markdown-mode)) (add-to-list 'auto-mode-alist '("\\.mdx\\'" . markdown-mode))
#+END_SRC #+END_SRC
* Haskell
** Auto format Haskell code on save
#+BEGIN_SRC emacs-lisp
(custom-set-variables
'(haskell-stylish-on-save t))
#+END_SRC

View File

@ -13,6 +13,7 @@
ivy ; a search engine for love and life ivy ; a search engine for love and life
:ui :ui
deft
doom ; what makes DOOM look the way it does doom ; what makes DOOM look the way it does
doom-dashboard ; a nifty splash screen for Emacs doom-dashboard ; a nifty splash screen for Emacs
hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW hl-todo ; highlight TODO/FIXME/NOTE/DEPRECATED/HACK/REVIEW
@ -33,7 +34,7 @@
(evil +everywhere); come to the dark side, we have cookies (evil +everywhere); come to the dark side, we have cookies
file-templates ; auto-snippets for empty files file-templates ; auto-snippets for empty files
fold ; (nigh) universal code folding fold ; (nigh) universal code folding
(format +onsave) ; automated prettiness (format +onsave +format-with-lsp) ; automated prettiness
multiple-cursors ; editing in many places at once multiple-cursors ; editing in many places at once
rotate-text ; cycle region at point between text candidates rotate-text ; cycle region at point between text candidates
snippets ; my elves. They type so I don't have to snippets ; my elves. They type so I don't have to
@ -77,6 +78,8 @@
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
+noter
+journal
+roam +roam
+dragndrop ; drag & drop files/images into org buffers +dragndrop ; drag & drop files/images into org buffers
+pandoc ; export-with-pandoc support +pandoc ; export-with-pandoc support

View File

@ -1,6 +1,7 @@
[Desktop Entry] [Desktop Entry]
Name=org-protocol Name=Org-protocol
Exec=emacsclient %u Exec=emacsclient %u
Icon=emacs-icon
Type=Application Type=Application
Terminal=false Terminal=false
Categories=System; Categories=System;

View File

@ -79,15 +79,15 @@ super + Escape
pkill -USR1 -x sxhkd pkill -USR1 -x sxhkd
# Misc apps # Misc apps
alt + {l, n, r, s, c, v, k, a, u} ctrl + alt + {l, n, r, s, c, v, k, a, u}
alacritty --class float,float -e {lf, neomutt, /usr/bin/newsboat, spt, castero, nvim, ~/.local/bin/calendar-and-wait, ~/.local/bin/audit, ~/.local/bin/update-arch} alacritty --class float,float -e {lf, neomutt, /usr/bin/newsboat, spt, castero, nvim, ~/.local/bin/calendar-and-wait, ~/.local/bin/audit, ~/.local/bin/update-arch}
alt + {b, e, S} ctrl + alt + {b, e, S}
{brave, emacs, spotify} {brave, emacs, spotify}
alt + {t} ctrl + alt + {t}
~/.local/bin/tldr-dmenu ~/.local/bin/tldr-dmenu
alt + {p} ctrl + alt + {p}
playerctl play-pause playerctl play-pause
alt + {w} ctrl + alt + {w}
alacritty --class fullscreen,fullscreen -e ~/.config/polybar/bin/wttr-and-wait alacritty --class fullscreen,fullscreen -e ~/.config/polybar/bin/wttr-and-wait
#-----------------------------------------------------------Bspwm-------------------------------------------------------------- #-----------------------------------------------------------Bspwm--------------------------------------------------------------