summaryrefslogtreecommitdiff
path: root/mutt/.neomuttrc
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2021-01-23 10:25:02 +0100
committerSanto Cariotti <santo@dcariotti.me>2021-01-23 10:25:13 +0100
commite68619973482c8311829b6b0622dddcb949105b4 (patch)
tree5f95d18db1c6d06a124b2a318f2f8e84bfee0bad /mutt/.neomuttrc
parent9b6262f23887f00fea9f667ebfe8d0635fd80871 (diff)
email conf
Diffstat (limited to 'mutt/.neomuttrc')
-rw-r--r--mutt/.neomuttrc86
1 files changed, 86 insertions, 0 deletions
diff --git a/mutt/.neomuttrc b/mutt/.neomuttrc
new file mode 100644
index 0000000..d28af36
--- /dev/null
+++ b/mutt/.neomuttrc
@@ -0,0 +1,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
+