1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
|
# Folder hooks
folder-hook '<fisrt_email>' 'source ~/.neomutt/<fisrt_email>'
# Default account
source ~/.neomutt/<fisrt_email>
# Macros for switching accounts
macro index <f2> '<sync-mailbox><enter-command>source ~/.neomutt/<fisrt_email><enter><change-folder>!<enter>'
set editor = "vim"
set charset = "utf-8"
set sidebar_visible
set sidebar_format="%B%?F? [%F]?%* %?N?%N/?%S"
set mail_check_stats
# cache settings
set header_cache = ~/.cache/mutt
set message_cachedir = "~/.cache/mutt/message_cache"
# navigation settings
bind index,pager g noop
macro index,pager gi "<change-folder>=INBOX<enter>" "go to inbox"
macro index,pager gs "<change-folder>=Sent<enter>" "go to record"
macro index,pager gd "<change-folder>=Drafts<enter>" "go to drafts"
macro index,pager gt "<change-folder>=Trash<enter>" "go to trash"
set sidebar_visible = yes
set sidebar_width = 30
set sidebar_new_mail_only = no
set sidebar_folder_indent
set sidebar_indent_string = ' '
bind index,pager K sidebar-prev
bind index,pager J sidebar-next
bind index,pager L sidebar-open
bind index,pager B sidebar-toggle-visible
source ~/.neomutt/colors.muttrc
bind index j next-entry
bind index k previous-entry
bind pager j next-line
bind pager k previous-line
bind pager h previous-entry
bind pager l next-entry
bind pager gg top
bind pager G bottom
bind index gg first-entry
bind index G last-entry
bind index,pager V noop
macro index,pager V "<view-attachments><search>html<enter><view-mailcap><exit>"
bind generic,index,pager / search
## Other Settings
set mail_check_stats
set sort = 'reverse-date'
set markers = no # Disables the `+` displayed at line wraps
set mime_forward = yes # attachments are forwarded with mail
set fast_reply # skip to compose when replying
set fcc_attach # save attachments with the body
set forward_format = "Fwd: %s" # format of subject when forwarding
set mailcap_path = ~/.neomutt/mailcap
|