aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgxlin <[email protected]>2021-06-25 17:22:08 +0800
committergxlin <[email protected]>2021-06-25 17:40:20 +0800
commit7cf1ccce70764de672177425b5e359c24f294e32 (patch)
treecea8353076eb0125b94317b4c2bdfb38a939f78a
parent9a3426d99baf85d4f61e0e9e0c3dd1295d62cbdc (diff)
downloaddotfiles-7cf1ccce70764de672177425b5e359c24f294e32.tar.gz
dotfiles-7cf1ccce70764de672177425b5e359c24f294e32.tar.bz2
dotfiles-7cf1ccce70764de672177425b5e359c24f294e32.zip
Emacs and offlineimap config
-rw-r--r--.emacs.d/init-mu4e.elbin1996 -> 2084 bytes
-rw-r--r--.emacs.d/init.el5
-rw-r--r--.emacs.d/modes/init-org-mode.el1
-rw-r--r--.offlineimap.py4
-rw-r--r--.offlineimaprcbin995 -> 1063 bytes
5 files changed, 10 insertions, 0 deletions
diff --git a/.emacs.d/init-mu4e.el b/.emacs.d/init-mu4e.el
index 02835a5..a77568b 100644
--- a/.emacs.d/init-mu4e.el
+++ b/.emacs.d/init-mu4e.el
Binary files differ
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index bac98b0..669e93a 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -106,3 +106,8 @@
:hook ((go-mode . (lambda () (setq tab-width 4)))))
(use-package avy)
+
+(use-package dashboard
+ :ensure t
+ :config
+ (dashboard-setup-startup-hook))
diff --git a/.emacs.d/modes/init-org-mode.el b/.emacs.d/modes/init-org-mode.el
index 31cf3e2..1bbf17d 100644
--- a/.emacs.d/modes/init-org-mode.el
+++ b/.emacs.d/modes/init-org-mode.el
@@ -27,6 +27,7 @@
(evil-define-key 'normal org-mode-map
(kbd "TAB") 'org-cycle
(kbd "RET") 'org-open-at-point
+ (kbd "<leader>ot") 'org-todo
(kbd "<leader>os") 'org-schedule
(kbd "<leader>od") 'org-deadline)
diff --git a/.offlineimap.py b/.offlineimap.py
index e868861..c304ef4 100644
--- a/.offlineimap.py
+++ b/.offlineimap.py
@@ -7,3 +7,7 @@ def gmail_nametrans(foldername):
re.sub('starred', 'flagged',
re.sub('bin', 'trash',
re.sub(' ', '_', foldername.lower()))))))
+
+def gmail_folderfilter(foldername):
+ return foldername in ('INBOX', '[Gmail]/Starred',
+ '[Gmail]/Drafts', '[Gmail]/All Mail')
diff --git a/.offlineimaprc b/.offlineimaprc
index dc1f623..87cfe5a 100644
--- a/.offlineimaprc
+++ b/.offlineimaprc
Binary files differ