annotate muttrc @ 11:590cacb6b801

modify many things of Xdefaults.
author kent <kent@cr.ie.u-ryukyu.ac.jp>
date Tue, 15 Dec 2009 13:01:25 +0900
parents 4bf4065677ef
children 1dec272d7d09
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
1
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
2 ### tips
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
3 # index画面で `t' でタグ付け
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
4 # 各コマンド名の前に`tag-'をつけると、タグ付け対象全部にそれを実行
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
5 # `;' の後にコマンドをいれても良い
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
6 # 例: 複数のメールを別のメールボックスにコピー
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
7 # `t' でメールを指定
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
8 # `;' --> `C' でコピー先を指定
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
9 # `;` --> `d` で削除指定
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
12 ### mutt-jp test
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
13 set charset='utf-8'
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
14 set send_charset="us-ascii:iso-2022-jp"
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
15 #set strict_mime=no
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16 set assumed_charset="utf-8:iso-2022-jp:euc-jp:shift_jis"
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
17 set edit_headers=yes
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
18
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
20 ### メールフォルダ設定
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
21 set folder = $HOME/Mail
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
22 set mbox_type = Maildir
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
23
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
24 ### メールボックス
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
25 # この'='は上記$folderの別名
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
26 # muttが常に監視するボックス 別になくてもいい
10
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
27 unmailboxes *
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 mailboxes =inbox
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 mailboxes =ie-admin
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 mailboxes =GCC
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 mailboxes =concurrency
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
32 mailboxes =recruit
10
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
33 mailboxes =FujitsuBSC
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
34 # oldボックス
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
35 #mailboxes =inbox.old
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
36
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
37
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
38 ### 送信設定
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
39 set from = "kent@cr.ie.u-ryukyu.ac.jp"
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
40 set realname = "Yogi KENT"
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
41 set record = "$folder/sent"
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
42 set postponed = "$folder/postponed"
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
43 set include = yes
9
2eceeda82a9f from gentoo on ibook
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 3
diff changeset
44 #set smtp_url = smtp://k088511@nirai.ie.u-ryukyu.ac.jp:587/
10
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
45 set smtp_url = smtps://kent@firefly.cr.ie.u-ryukyu.ac.jp:465/
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 9
diff changeset
46 #set smtp_url = smtps://kent@firefly.cr.ie.u-ryukyu.ac.jp:587/
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
47 ## 最初はmsmtpを使ってたんだけど、必要ないっぽい。smtp_urlがあればignored
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
48 #set sendmail = "/opt/local/bin/msmtp -a nirai"
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
49
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
50 set alias_file = $folder/aliases
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
51 source =aliases
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
52 set signature = "~/.signature"
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
53
11
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
54
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
55 ### for サイドバーpatch
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
56 set sidebar_width=15
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
57 #set sidebar_delim='│'
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
58 set sidebar_delim='|'
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
59 set sidebar_visible=yes
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
60
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
61
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
62 ### KeyBindings
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
63 # for Pager
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
64 bind pager j next-line
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
65 bind pager k previous-line
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
66 bind pager o exit
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
67 bind pager J next-entry
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
68 bind pager K previous-entry
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
69 bind pager \Cd half-down
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
70 bind pager \Cu half-up
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
71 bind pager < top
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
72 bind pager > bottom
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
73 # for Index
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
74 bind index \Cd half-down
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
75 bind index \Cu half-up
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
76 bind index < first-entry
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
77 bind index > last-entry
11
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
78 bind index \Co sidebar-open
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
79 bind index \Cp sidebar-prev
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
80 bind index \Cn sidebar-next
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
81
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
82 ### Macros
11
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
83 macro generic,index G !fetchmail^M
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
84 macro index B '<enter-command>toggle sidebar_visible<enter>'
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
85 macro index \Cb '<enter-command>toggle sidebar_visible<enter>'
3
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
86
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
87 ### パイプ
8812f32e6124 09/05/25
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 1
diff changeset
88 set pipe_decode=yes
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
89
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
90
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
91 ### カラー設定
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
92 # 通常
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
93 color search black yellow
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
94 color status yellow blue
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
95 color indicator brightyellow magenta
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
96 color tree yellow black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
97 # bodies
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
98 color normal white black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
99 color quoted cyan black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
100 color quoted1 green black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
101 color quoted2 red black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
102 color attachment brightmagenta black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
103 # ヘッダ
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
104 color hdrdefault black white
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
105 color header yellow black ^(From|Subject|Date|Reply-To|To|Cc):
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
106 # メッセージ
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
107 color message brightwhite black
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
108 color error red black
11
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
109 # サイドバー
590cacb6b801 modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents: 10
diff changeset
110 color sidebar_new cyan black
1
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
111
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
112 #color markers brightcyan black # the + for wrapped pager lines
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
113 #color signature brightyellow black # signature (after "-- ")
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
114 #color tilde blue black # ~'s after message body
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
115 #color header brightyellow black ^(From|Subject): # Important headers
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
116 #color body cyan black "(ftp|http)://[^ ]+"
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
117 #color body magenta black [-a-z_0-9.]+@[-a-z_0-9.]+ # picks up email addresses
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
118
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
119
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
120 ### ヘッダ非表示
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
121 ignore *
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
122 unignore from to subject cc date reply-to
c8c579f62d99 add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
123