diff options
author | gxlin <[email protected]> | 2021-07-06 13:23:10 +0800 |
---|---|---|
committer | gxlin <[email protected]> | 2021-07-06 13:23:10 +0800 |
commit | 20f2705342e1c444bda1b4c9a2077408ae14389a (patch) | |
tree | 725ef13c17a8499d5bbba92cb6a385791b787fea | |
parent | 31c792619100bf1b53b57f2406cdffc8116e309a (diff) | |
download | dotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.tar.gz dotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.tar.bz2 dotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.zip |
mutt is too hard to configure
-rw-r--r-- | .aliases | 1 | ||||
-rw-r--r-- | .emacs.d/init.el | 1 | ||||
-rw-r--r-- | .emacs.d/modes/init-org-mode.el | 11 | ||||
-rw-r--r-- | .gitattributes | 4 | ||||
-rw-r--r-- | .mutt/accounts/foo | bin | 0 -> 258 bytes | |||
-rw-r--r-- | .mutt/mailboxes | bin | 0 -> 174 bytes | |||
-rw-r--r-- | .mutt/muttrc | bin | 0 -> 419 bytes | |||
-rw-r--r-- | .muttrc | bin | 130 -> 0 bytes | |||
-rw-r--r-- | offlineimap/.offlineimaprc | bin | 1140 -> 1284 bytes |
9 files changed, 13 insertions, 4 deletions
@@ -1,3 +1,4 @@ #!/usr/bin/env bash alias mu4e='emacs -f mu4e' +alias todo='emacs ~/notes/todo.org' diff --git a/.emacs.d/init.el b/.emacs.d/init.el index df7a5c9..4f08fd7 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -52,7 +52,6 @@ (require 'init-lsp-mode) (require 'init-mu4e) -;; ledger-mode (use-package ledger-mode :mode (("\\.journal$" . ledger-mode)) :config diff --git a/.emacs.d/modes/init-org-mode.el b/.emacs.d/modes/init-org-mode.el index af03184..32bdc4f 100644 --- a/.emacs.d/modes/init-org-mode.el +++ b/.emacs.d/modes/init-org-mode.el @@ -31,7 +31,9 @@ (kbd "<leader>od") 'org-deadline (kbd "<leader>or") 'org-refile (kbd "<leader>oil") 'org-insert-link - (kbd "<leader>oih") 'org-insert-heading) + (kbd "<leader>oih") 'org-insert-heading + (kbd "<leader>oci") 'org-clock-in + (kbd "<leader>oco") 'org-clock-out) (setq org-tags-exclude-from-inheritance '("PROJECT")) @@ -65,7 +67,10 @@ ;; org babel (org-babel-do-load-languages 'org-babel-load-languages - '((shell . t)))) + '((shell . t))) + + ;; org-habit + (add-to-list 'org-modules 'org-habit t)) (use-package org-agenda :ensure nil @@ -74,6 +79,8 @@ :init (setq org-agenda-dim-blocked-tasks nil) (setq org-agenda-skip-deadline-prewarning-if-scheduled t) + + (setq org-deadline-warning-days 10) (setq org-agenda-compact-blocks t) (setq org-agenda-custom-commands diff --git a/.gitattributes b/.gitattributes index f53df20..b9aae35 100644 --- a/.gitattributes +++ b/.gitattributes @@ -1,4 +1,6 @@ .emacs.d/init-mu4e.el filter=git-crypt diff=git-crypt offlineimap/.offlineimaprc filter=git-crypt diff=git-crypt -.muttrc filter=git-crypt diff=git-crypt +.mutt/muttrc filter=git-crypt diff=git-crypt +.mutt/mailboxes filter=git-crypt diff=git-crypt +.mutt/accounts/* filter=git-crypt diff=git-crypt .authinfo filter=git-crypt diff=git-crypt diff --git a/.mutt/accounts/foo b/.mutt/accounts/foo Binary files differnew file mode 100644 index 0000000..d044a5b --- /dev/null +++ b/.mutt/accounts/foo diff --git a/.mutt/mailboxes b/.mutt/mailboxes Binary files differnew file mode 100644 index 0000000..01ee6d6 --- /dev/null +++ b/.mutt/mailboxes diff --git a/.mutt/muttrc b/.mutt/muttrc Binary files differnew file mode 100644 index 0000000..8f52596 --- /dev/null +++ b/.mutt/muttrc diff --git a/.muttrc b/.muttrc Binary files differdeleted file mode 100644 index d498663..0000000 --- a/.muttrc +++ /dev/null diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc Binary files differindex 918f26b..575342e 100644 --- a/offlineimap/.offlineimaprc +++ b/offlineimap/.offlineimaprc |