aboutsummaryrefslogtreecommitdiff
path: root/files/.mutt/muttrc
blob: d33d2d8313e7fcb8524fd0732090fcdd3426f874 (plain) (blame)
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# .muttrc file for mutt
# Muttrc file
# Based on the muttrc file by Dave Pearson
# Based on the nuttrc fule by Simon Huggins

# Mail boxes
set mbox_type=Maildir

set reverse_name

set sendmail="/usr/bin/msmtp --domain $HOSTNAME"

set folder="~/Mail/Gmail"
set spoolfile="+INBOX"
set mbox=+archive
set postponed=+drafts

set header_cache="~/.mutt/cache/headers"

set signature="~/.mutt/signature"

set assumed_charset="cp1251:koi8-r:utf-8"
#set attach_charset="cp1251:koi8-r:utf-8"

alternates "anton@bobov.name" "abobov@gmail.com"

set print=ask-yes
set print_command="muttprint"

##
# General options
#

set nohelp
set alias_file=~/.mutt/aliases

set hdrs						# add my_hdr lines

set postpone=ask-no
set move=no
set include=yes					# include message in reply
set delete=yes					# just delete then select to delete
source ~/.mutt/sort-threads.rc
set sort_aux=reverse-last-date-received
set charset=utf-8				# terminal charset
set allow_8bit
set rfc2047_parameters
set mail_check_stats=yes
set mail_check=120				# check for new mail every 120 seconds
set text_flowed=yes             # allow paragraphs re-flow

set edit_headers				# change headers with body in editor

set editor="vim -c '/^$/+1' -c nohl"
set visual="vim"

set menu_scroll

#set autoedit					# don't ask me anyrging, let's go to compose msg
set nomark_old					# not mark new unread messages as old
set copy=no						# keep copies of outgoing mail
unset record					# GMail automatically save in [Gmail]/Sent Mail
set nobeep
set beep_new
set pipe_decode
set smart_wrap
set nomarkers					# don't want ant wrap markers
set pager_context=3				# XXX
set envelope_from					# XXX
set tilde						# fill message to end of screen with ~
set pager_stop					# don't move to next msg on end
#set pager_index_lines=1			# XXX
set nowrite_bcc					# don't show Bcc on write msgs
set ascii_chars
unset collapse_unread				# never collapse thread with unread  msgs
set uncollapse_jump
set fast_reply					# don't ask me, just reply
set realname="Anton Bobov"		#

set pager_index_lines=11		# show msgs from index in pager
set noconfirmappend				# don't ask me about appending msgs to other
								# boxes
set query_command="abook --mutt-query '%s'"
set to_chars=" +TCF "			# Drop the "L".

set thorough_search

set sidebar_visible=yes
set sidebar_width=25
set sidebar_format="%B%*  %S%?N?(%N)?%?F?[%F]?"

set status_format = "---[ Folder: %f ]---[%r%m messages%?n? (%n new)?%?d? (%d to delete)?%?t? (%t tagged)? ]---%>-%?p?( %p postponed )?---"


##
# MIME-types to auto_view
#
set mailcap_path=~/.mutt/mutt_mailcap:/etc/mailcap

auto_view application/octet-stream
auto_view text/html

alternative_order text/plain text/html

# Ignore some headers
ignore *
unignore From Subject To CC Date Attach
unignore X-Mailer: X-Mailing-List: User-Agent:

# Order visible header lines
hdr_order From Subject Date To CC

# Default from
#my_hdr From: Anton Bobov <abobov@gmail.com>
my_hdr X-Attribution: AB
my_hdr X-PGP-Key: http://id.bobov.name/pubkey.asc

#
# Source files
#

source ~/.mutt/macros
source ~/.mutt/bindings
source ~/.mutt/colors
source ~/.mutt/mailboxes
source ~/.mutt/crypto
source $alias_file
source ~/.mutt/folder-hooks

push V