summaryrefslogtreecommitdiff
path: root/mutt/.neomuttrc
blob: d28af3687b6d038fbdd8802d5df09f2b1fc7f254 (plain)
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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
set realname = "Santo Cariotti"
set from = "<email>"
set use_from = yes
set envelope_from = yes

set smtp_url = "smtp://<email>@<host>:<port>/"
set smtp_pass = "<pass>"

set imap_user = "<email>"
set imap_pass = "<pass>"

set folder = "~/.mail/<email>"

set ssl_force_tls = yes
set sendmail = "msmtp -a <email>"
set mbox_type = Maildir
set spoolfile = +INBOX
set record = +Sent
set postponed = +Drafts
set trash = +Trash
mailboxes =INBOX =Sent =Drafts =Trash

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

# synchronization settings ['s' to sync]
macro index S "<shell-escape>mbsync -V <email><enter>" "sync email"

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

color indicator black yellow

source ~/.neomutt/colors.muttrc