From 045cbb1d06f0d01a295180b336384c1c26fe5cc6 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Sat, 19 Oct 2024 11:13:32 +0200 Subject: mutt: try to fix the lag --- .config/mutt/accounts/1-ceng_argor.muttrc | 3 +++ .config/mutt/accounts/2-metu_argor.muttrc | 3 +++ .config/mutt/accounts/3-ceng_stu.muttrc | 3 +++ .config/mutt/accounts/4-metu_stu.muttrc | 3 +++ .config/mutt/accounts/5-xyz.muttrc | 3 +++ 5 files changed, 15 insertions(+) (limited to '.config/mutt/accounts') diff --git a/.config/mutt/accounts/1-ceng_argor.muttrc b/.config/mutt/accounts/1-ceng_argor.muttrc index 1656992..343adcf 100644 --- a/.config/mutt/accounts/1-ceng_argor.muttrc +++ b/.config/mutt/accounts/1-ceng_argor.muttrc @@ -9,6 +9,9 @@ set header_cache = /home/yigit/.cache/mutt-wizard/ceng_argor/headers set message_cachedir = /home/yigit/.cache/mutt-wizard/ceng_argor/bodies set mbox_type = Maildir +# use very high $read_inc to speed up reading hcache'd maildirs +folder-hook . 'set read_inc=1000' + bind index,pager gg noop bind index,pager g noop bind index,pager M noop diff --git a/.config/mutt/accounts/2-metu_argor.muttrc b/.config/mutt/accounts/2-metu_argor.muttrc index cbbb53a..db3f73a 100644 --- a/.config/mutt/accounts/2-metu_argor.muttrc +++ b/.config/mutt/accounts/2-metu_argor.muttrc @@ -9,6 +9,9 @@ set header_cache = /home/yigit/.cache/mutt-wizard/metu_argor/headers set message_cachedir = /home/yigit/.cache/mutt-wizard/metu_argor/bodies set mbox_type = Maildir +# use very high $read_inc to speed up reading hcache'd maildirs +folder-hook . 'set read_inc=1000' + bind index,pager gg noop bind index,pager g noop bind index,pager M noop diff --git a/.config/mutt/accounts/3-ceng_stu.muttrc b/.config/mutt/accounts/3-ceng_stu.muttrc index 5e7472c..1205084 100644 --- a/.config/mutt/accounts/3-ceng_stu.muttrc +++ b/.config/mutt/accounts/3-ceng_stu.muttrc @@ -9,6 +9,9 @@ set header_cache = /home/yigit/.cache/mutt-wizard/ceng_stu/headers set message_cachedir = /home/yigit/.cache/mutt-wizard/ceng_stu/bodies set mbox_type = Maildir +# use very high $read_inc to speed up reading hcache'd maildirs +folder-hook . 'set read_inc=1000' + bind index,pager gg noop bind index,pager g noop bind index,pager M noop diff --git a/.config/mutt/accounts/4-metu_stu.muttrc b/.config/mutt/accounts/4-metu_stu.muttrc index 959586d..c3cc178 100644 --- a/.config/mutt/accounts/4-metu_stu.muttrc +++ b/.config/mutt/accounts/4-metu_stu.muttrc @@ -9,6 +9,9 @@ set header_cache = /home/yigit/.cache/mutt-wizard/metu_stu/headers set message_cachedir = /home/yigit/.cache/mutt-wizard/metu_stu/bodies set mbox_type = Maildir +# use very high $read_inc to speed up reading hcache'd maildirs +folder-hook . 'set read_inc=1000' + bind index,pager gg noop bind index,pager g noop bind index,pager M noop diff --git a/.config/mutt/accounts/5-xyz.muttrc b/.config/mutt/accounts/5-xyz.muttrc index bf56c52..108fe51 100644 --- a/.config/mutt/accounts/5-xyz.muttrc +++ b/.config/mutt/accounts/5-xyz.muttrc @@ -9,6 +9,9 @@ set header_cache = /home/yigit/.cache/mutt-wizard/xyz/headers set message_cachedir = /home/yigit/.cache/mutt-wizard/xyz/bodies set mbox_type = Maildir +# use very high $read_inc to speed up reading hcache'd maildirs +folder-hook . 'set read_inc=1000' + bind index,pager gg noop bind index,pager g noop bind index,pager M noop -- cgit v1.2.3-70-g09d2