aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-07-06 13:23:10 +0800
committergxlin <[email protected]>2021-07-06 13:23:10 +0800
commit20f2705342e1c444bda1b4c9a2077408ae14389a (patch)
tree725ef13c17a8499d5bbba92cb6a385791b787fea
parent31c792619100bf1b53b57f2406cdffc8116e309a (diff)
downloaddotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.tar.gz
dotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.tar.bz2
dotfiles-20f2705342e1c444bda1b4c9a2077408ae14389a.zip
mutt is too hard to configure
-rw-r--r--.aliases1
-rw-r--r--.emacs.d/init.el1
-rw-r--r--.emacs.d/modes/init-org-mode.el11
-rw-r--r--.gitattributes4
-rw-r--r--.mutt/accounts/foobin0 -> 258 bytes
-rw-r--r--.mutt/mailboxesbin0 -> 174 bytes
-rw-r--r--.mutt/muttrcbin0 -> 419 bytes
-rw-r--r--.muttrcbin130 -> 0 bytes
-rw-r--r--offlineimap/.offlineimaprcbin1140 -> 1284 bytes
9 files changed, 13 insertions, 4 deletions
diff --git a/.aliases b/.aliases
index 5d4ad13..f07c9b8 100644
--- a/.aliases
+++ b/.aliases
@@ -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
new file mode 100644
index 0000000..d044a5b
--- /dev/null
+++ b/.mutt/accounts/foo
Binary files differ
diff --git a/.mutt/mailboxes b/.mutt/mailboxes
new file mode 100644
index 0000000..01ee6d6
--- /dev/null
+++ b/.mutt/mailboxes
Binary files differ
diff --git a/.mutt/muttrc b/.mutt/muttrc
new file mode 100644
index 0000000..8f52596
--- /dev/null
+++ b/.mutt/muttrc
Binary files differ
diff --git a/.muttrc b/.muttrc
deleted file mode 100644
index d498663..0000000
--- a/.muttrc
+++ /dev/null
Binary files differ
diff --git a/offlineimap/.offlineimaprc b/offlineimap/.offlineimaprc
index 918f26b..575342e 100644
--- a/offlineimap/.offlineimaprc
+++ b/offlineimap/.offlineimaprc
Binary files differ