Compare commits
No commits in common. "384445e0c91fa7035344be76652188e29dab6c5f" and "41a02413cb861288d38ab36e8b85560901f685c1" have entirely different histories.
384445e0c9
...
41a02413cb
25
config.org
25
config.org
|
@ -32,9 +32,9 @@ The provided default ~config.el~
|
||||||
;; See 'C-h v doom-font' for documentation and more examples of what they
|
;; See 'C-h v doom-font' for documentation and more examples of what they
|
||||||
;; accept. For example:
|
;; accept. For example:
|
||||||
;;
|
;;
|
||||||
(setq doom-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
doom-unicode-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
doom-unicode-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||||
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 15))
|
doom-variable-pitch-font (font-spec :family "Fira Sans" :size 15))
|
||||||
;;
|
;;
|
||||||
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
;; If you or Emacs can't find your font, use 'M-x describe-font' to look them
|
||||||
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
;; up, `M-x eval-region' to execute elisp code, and 'M-x doom/reload-font' to
|
||||||
|
@ -490,7 +490,7 @@ Here we:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! org-roam
|
(use-package! org-roam
|
||||||
:custom
|
:custom
|
||||||
(org-roam-directory (concat org-directory "roam/"))
|
(org-roam-directory (concat org-directory "Roam/"))
|
||||||
(org-roam-complete-everywhere t)
|
(org-roam-complete-everywhere t)
|
||||||
;; :bind (("C-c r l" . org-roam-buffer-toggle)
|
;; :bind (("C-c r l" . org-roam-buffer-toggle)
|
||||||
;; ("C-c r f" . org-roam-node-find)
|
;; ("C-c r f" . org-roam-node-find)
|
||||||
|
@ -996,8 +996,8 @@ Tell it not to update the mail itself, we have a systemd unit for that
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(setq +mu4e-backend nil)
|
(setq +mu4e-backend nil)
|
||||||
(after! mu4e
|
(after! mu4e
|
||||||
(setq mu4e-get-mail-command "mbsync -a"
|
(setq mu4e-get-mail-command "systemctl start --user mbsync.service"
|
||||||
mu4e-update-interval 300))
|
mu4e-update-interval nil))
|
||||||
#+end_src
|
#+end_src
|
||||||
We need to tell mu4e to rename files when they are moved, or else mbsync will break, see [[https://github.com/djcb/mu/issues/613#issuecomment-166714305][issue]] and [[http://tiborsimko.org/mbsync-duplicate-uid.html][blog post]]
|
We need to tell mu4e to rename files when they are moved, or else mbsync will break, see [[https://github.com/djcb/mu/issues/613#issuecomment-166714305][issue]] and [[http://tiborsimko.org/mbsync-duplicate-uid.html][blog post]]
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
@ -1008,19 +1008,24 @@ We need to tell mu4e to rename files when they are moved, or else mbsync will br
|
||||||
Now setup notifications
|
Now setup notifications
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! mu4e-alert
|
(use-package! mu4e-alert
|
||||||
:demand t
|
|
||||||
:config
|
:config
|
||||||
(mu4e-alert-set-default-style 'libnotify)
|
(mu4e-alert-set-default-style 'libnotify)
|
||||||
(setq mu4e-alert-interesting-mail-query
|
(setq mu4e-alert-interesting-mail-query
|
||||||
(concat
|
(concat
|
||||||
"flag:unread"
|
"flag:unread"
|
||||||
" AND NOT flag:trashed"
|
" AND NOT flag:trashed"
|
||||||
" AND maildir:"
|
" AND NOT maildir:"
|
||||||
"\"/nathan@mccarty.io/Inbox\""))
|
"\"/nathan@mccarty.io/Spam\""
|
||||||
|
"\"/nathan@mccarty.io/Folders/Mailing Lists\""
|
||||||
|
"\"/nathan@mccarty.io/Trash\"")))
|
||||||
|
#+end_src
|
||||||
|
|
||||||
|
Add to the modeline and enable nofitications, but only when we are the daemon
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(when (daemonp)
|
||||||
(add-hook 'after-init-hook #'mu4e-alert-enable-notifications)
|
(add-hook 'after-init-hook #'mu4e-alert-enable-notifications)
|
||||||
(add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display))
|
(add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** [[https://github.com/stsquad/emacs_chrome][Edit with Emacs]]
|
** [[https://github.com/stsquad/emacs_chrome][Edit with Emacs]]
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package! edit-server
|
(use-package! edit-server
|
||||||
|
|
34
init.el
34
init.el
|
@ -62,6 +62,7 @@
|
||||||
:tools
|
:tools
|
||||||
(debugger +lsp) ; stepping through code, to help you add bugs
|
(debugger +lsp) ; stepping through code, to help you add bugs
|
||||||
direnv
|
direnv
|
||||||
|
docker
|
||||||
editorconfig ; let someone else argue about tabs vs spaces
|
editorconfig ; let someone else argue about tabs vs spaces
|
||||||
(eval +overlay) ; run code, run (also, repls)
|
(eval +overlay) ; run code, run (also, repls)
|
||||||
lookup ; navigate your code and its documentation
|
lookup ; navigate your code and its documentation
|
||||||
|
@ -76,31 +77,22 @@
|
||||||
(tty +osc)
|
(tty +osc)
|
||||||
|
|
||||||
:lang
|
:lang
|
||||||
;;; Programming languages
|
|
||||||
;; Systems/low level languages
|
|
||||||
(rust +lsp +tree-sitter)
|
|
||||||
;; JVM
|
|
||||||
(java +lsp)
|
|
||||||
(kotlin +lsp)
|
|
||||||
;; Web
|
|
||||||
(javascript +lsp +tree-sitter)
|
|
||||||
(web +lsp +tree-sitter)
|
|
||||||
;; Other High Level
|
|
||||||
(haskell +lsp +tree-sitter)
|
|
||||||
emacs-lisp
|
|
||||||
(scheme +chez)
|
|
||||||
(sh +fish)
|
|
||||||
;; Configuration/Data
|
|
||||||
(nix +tree-sitter)
|
|
||||||
data
|
data
|
||||||
(yaml +tree-sittter)
|
emacs-lisp
|
||||||
(json +tree-sitter)
|
json
|
||||||
dhall
|
|
||||||
;; Markup
|
|
||||||
(latex +fold)
|
(latex +fold)
|
||||||
(markdown +tree-sitter)
|
markdown
|
||||||
|
nix
|
||||||
(org +pandoc +present +roam2 +pomodoro)
|
(org +pandoc +present +roam2 +pomodoro)
|
||||||
|
rest ; Emacs as a REST client
|
||||||
|
(rust +lsp)
|
||||||
|
(sh +fish)
|
||||||
|
yaml
|
||||||
|
(scheme +chez)
|
||||||
|
(haskell +lsp)
|
||||||
plantuml
|
plantuml
|
||||||
|
(kotlin +lsp)
|
||||||
|
(java +lsp)
|
||||||
|
|
||||||
:email
|
:email
|
||||||
(mu4e +org)
|
(mu4e +org)
|
||||||
|
|
Loading…
Reference in New Issue