Compare commits
10 Commits
41a02413cb
...
384445e0c9
Author | SHA1 | Date |
---|---|---|
Nathan McCarty | 384445e0c9 | |
Nathan McCarty | be13696671 | |
Nathan McCarty | 9de4fd5452 | |
Nathan McCarty | b12777a5da | |
Nathan McCarty | cb8f4a541d | |
Nathan McCarty | 66257103e0 | |
Nathan McCarty | bc562626bf | |
Nathan McCarty | fc69aad5c5 | |
Nathan McCarty | 8e021f67c9 | |
Nathan McCarty | ddb0043f4c |
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
|
||||
;; accept. For example:
|
||||
;;
|
||||
(setq doom-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||
doom-unicode-font (font-spec :family "FiraCode Nerd Font" :size 11 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "Fira Sans" :size 15))
|
||||
(setq doom-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
||||
doom-unicode-font (font-spec :family "Iosevka" :size 13 :weight 'semi-light)
|
||||
doom-variable-pitch-font (font-spec :family "Iosevka Sans Quasi" :size 15))
|
||||
;;
|
||||
;; 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
|
||||
|
@ -490,7 +490,7 @@ Here we:
|
|||
#+begin_src emacs-lisp
|
||||
(use-package! org-roam
|
||||
:custom
|
||||
(org-roam-directory (concat org-directory "Roam/"))
|
||||
(org-roam-directory (concat org-directory "roam/"))
|
||||
(org-roam-complete-everywhere t)
|
||||
;; :bind (("C-c r l" . org-roam-buffer-toggle)
|
||||
;; ("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
|
||||
(setq +mu4e-backend nil)
|
||||
(after! mu4e
|
||||
(setq mu4e-get-mail-command "systemctl start --user mbsync.service"
|
||||
mu4e-update-interval nil))
|
||||
(setq mu4e-get-mail-command "mbsync -a"
|
||||
mu4e-update-interval 300))
|
||||
#+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]]
|
||||
#+begin_src emacs-lisp
|
||||
|
@ -1008,24 +1008,19 @@ We need to tell mu4e to rename files when they are moved, or else mbsync will br
|
|||
Now setup notifications
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! mu4e-alert
|
||||
:demand t
|
||||
:config
|
||||
(mu4e-alert-set-default-style 'libnotify)
|
||||
(setq mu4e-alert-interesting-mail-query
|
||||
(concat
|
||||
"flag:unread"
|
||||
" AND NOT flag:trashed"
|
||||
" AND NOT maildir:"
|
||||
"\"/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)
|
||||
" AND maildir:"
|
||||
"\"/nathan@mccarty.io/Inbox\""))
|
||||
(add-hook 'after-init-hook #'mu4e-alert-enable-notifications)
|
||||
(add-hook 'after-init-hook #'mu4e-alert-enable-mode-line-display))
|
||||
#+end_src
|
||||
|
||||
** [[https://github.com/stsquad/emacs_chrome][Edit with Emacs]]
|
||||
#+begin_src emacs-lisp
|
||||
(use-package! edit-server
|
||||
|
|
40
init.el
40
init.el
|
@ -62,7 +62,6 @@
|
|||
:tools
|
||||
(debugger +lsp) ; stepping through code, to help you add bugs
|
||||
direnv
|
||||
docker
|
||||
editorconfig ; let someone else argue about tabs vs spaces
|
||||
(eval +overlay) ; run code, run (also, repls)
|
||||
lookup ; navigate your code and its documentation
|
||||
|
@ -77,22 +76,31 @@
|
|||
(tty +osc)
|
||||
|
||||
:lang
|
||||
data
|
||||
emacs-lisp
|
||||
json
|
||||
(latex +fold)
|
||||
markdown
|
||||
nix
|
||||
(org +pandoc +present +roam2 +pomodoro)
|
||||
rest ; Emacs as a REST client
|
||||
(rust +lsp)
|
||||
(sh +fish)
|
||||
yaml
|
||||
(scheme +chez)
|
||||
(haskell +lsp)
|
||||
plantuml
|
||||
(kotlin +lsp)
|
||||
;;; 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
|
||||
(yaml +tree-sittter)
|
||||
(json +tree-sitter)
|
||||
dhall
|
||||
;; Markup
|
||||
(latex +fold)
|
||||
(markdown +tree-sitter)
|
||||
(org +pandoc +present +roam2 +pomodoro)
|
||||
plantuml
|
||||
|
||||
:email
|
||||
(mu4e +org)
|
||||
|
|
Loading…
Reference in New Issue