Compare commits
4 Commits
ab379ad0ea
...
b5712f1080
Author | SHA1 | Date |
---|---|---|
Jez Cope | b5712f1080 | |
Jez Cope | 65b3580f31 | |
Jez Cope | f4958c6c86 | |
Jez Cope | 4f6a36a455 |
|
@ -3,7 +3,7 @@
|
||||||
{
|
{
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.emacsPgtkGcc;
|
package = pkgs.emacsGcc;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs;
|
home.packages = with pkgs;
|
||||||
|
|
|
@ -148,15 +148,6 @@ Disable format-on-save for Rust, since it seems to complain...
|
||||||
(setq doom-scratch-initial-major-mode 'org-mode)
|
(setq doom-scratch-initial-major-mode 'org-mode)
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Clipboard
|
|
||||||
|
|
||||||
#+begin_src emacs-lisp
|
|
||||||
(when (getenv "WAYLAND_DISPLAY")
|
|
||||||
(setq interprogram-paste-function
|
|
||||||
(lambda ()
|
|
||||||
(shell-command-to-string "wl-paste -n | tr -d '\r'"))))
|
|
||||||
#+end_src
|
|
||||||
|
|
||||||
* Projects
|
* Projects
|
||||||
|
|
||||||
** Projectile
|
** Projectile
|
||||||
|
@ -400,10 +391,10 @@ See also [[id:18709859-c3db-4d0e-a4a0-e797b58a2e07][Capture templates]]
|
||||||
bibtex-autokey-name-separator "."
|
bibtex-autokey-name-separator "."
|
||||||
bibtex-autokey-name-case-convert 'identity
|
bibtex-autokey-name-case-convert 'identity
|
||||||
|
|
||||||
bibtex-autokey-name-year-separator "_"
|
bibtex-autokey-name-year-separator ":"
|
||||||
bibtex-autokey-year-length 4
|
bibtex-autokey-year-length 4
|
||||||
|
|
||||||
bibtex-autokey-year-title-separator "_"
|
bibtex-autokey-year-title-separator ":"
|
||||||
bibtex-autokey-titleword-length 10
|
bibtex-autokey-titleword-length 10
|
||||||
bibtex-autokey-titlewords 1
|
bibtex-autokey-titlewords 1
|
||||||
bibtex-autokey-titlewords-stretch 1
|
bibtex-autokey-titlewords-stretch 1
|
||||||
|
@ -700,12 +691,32 @@ See also [[id:18709859-c3db-4d0e-a4a0-e797b58a2e07][Capture templates]]
|
||||||
|
|
||||||
(smtpmail-smtp-server . "mail.jeznelly.co.uk")
|
(smtpmail-smtp-server . "mail.jeznelly.co.uk")
|
||||||
(smtpmail-stream-type . starttls)
|
(smtpmail-stream-type . starttls)
|
||||||
(smtpmail-smtp-service . 587)
|
(smtpmail-smtp-service . 587))
|
||||||
)
|
|
||||||
t)
|
t)
|
||||||
|
|
||||||
(setq mu4e-split-view 'vertical
|
(setq mu4e-split-view 'vertical
|
||||||
mu4e-headers-visible-columns 80)
|
mu4e-headers-visible-columns 80
|
||||||
|
|
||||||
|
mu4e-headers-sort-direction 'ascending
|
||||||
|
mu4e-headers-sort-field ':date
|
||||||
|
|
||||||
|
mu4e-bookmarks
|
||||||
|
'((:name "Inbox"
|
||||||
|
:query "m:\"/main/Inbox\""
|
||||||
|
:key ?i)
|
||||||
|
(:name "Unread messages"
|
||||||
|
:query "flag:unread AND NOT flag:trashed"
|
||||||
|
:key ?u)
|
||||||
|
(:name "Today's messages"
|
||||||
|
:query "date:today..now"
|
||||||
|
:key ?t)
|
||||||
|
(:name "Last 7 days"
|
||||||
|
:query "date:7d..now"
|
||||||
|
:hide-unread t
|
||||||
|
:key ?w)
|
||||||
|
(:name "Flagged messages"
|
||||||
|
:query "flag:flagged"
|
||||||
|
:key ?f)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
*** Sending
|
*** Sending
|
||||||
|
|
|
@ -55,6 +55,6 @@ in {
|
||||||
programs.mbsync.enable = true;
|
programs.mbsync.enable = true;
|
||||||
services.mbsync = {
|
services.mbsync = {
|
||||||
enable = true;
|
enable = true;
|
||||||
postExec = "${pkgs.mu}/bin/mu index";
|
postExec = "${pkgs.bash}/bin/bash -c '${pkgs.mu}/bin/mu index || true'";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue