Mercurial > hg > Members > kent > dotfiles
annotate muttrc @ 16:457d7aa2cb2f default tip
from oleander PowerBookG4.
author | kent <kent@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Mar 2010 16:58:46 +0900 |
parents | 568683f2b3ce |
children |
rev | line source |
---|---|
3 | 1 |
2 ### tips | |
3 # index画面で `t' でタグ付け | |
4 # 各コマンド名の前に`tag-'をつけると、タグ付け対象全部にそれを実行 | |
5 # `;' の後にコマンドをいれても良い | |
6 # 例: 複数のメールを別のメールボックスにコピー | |
7 # `t' でメールを指定 | |
8 # `;' --> `C' でコピー先を指定 | |
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 |
15 | 19 ### 日本語独自設定 |
20 # 日本語添付ファイル名 | |
21 set rfc2047_parameters=yes | |
22 # 機種依存文字の対応 | |
23 #set sanitize_ja_chars=yes 日本語パッチ必要 | |
24 | |
1
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
25 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
26 ### メールフォルダ設定 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
27 set folder = $HOME/Mail |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
28 set mbox_type = Maildir |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
29 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
30 ### メールボックス |
3 | 31 # この'='は上記$folderの別名 |
32 # muttが常に監視するボックス 別になくてもいい | |
10 | 33 unmailboxes * |
1
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
34 mailboxes =inbox |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
35 mailboxes =ie-admin |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
36 mailboxes =GCC |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
37 mailboxes =concurrency |
3 | 38 mailboxes =recruit |
10 | 39 mailboxes =FujitsuBSC |
3 | 40 # oldボックス |
41 #mailboxes =inbox.old | |
42 | |
1
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
43 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
44 ### 送信設定 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
45 set from = "kent@cr.ie.u-ryukyu.ac.jp" |
3 | 46 set realname = "Yogi KENT" |
47 set record = "$folder/sent" | |
48 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
|
49 set include = yes |
9 | 50 #set smtp_url = smtp://k088511@nirai.ie.u-ryukyu.ac.jp:587/ |
10 | 51 set smtp_url = smtps://kent@firefly.cr.ie.u-ryukyu.ac.jp:465/ |
52 #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
|
53 ## 最初はmsmtpを使ってたんだけど、必要ないっぽい。smtp_urlがあればignored |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
54 #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
|
55 |
3 | 56 set alias_file = $folder/aliases |
57 source =aliases | |
1
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
58 set signature = "~/.signature" |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
59 |
11
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
60 |
13 | 61 ### ネットニュース |
16 | 62 #set news_server=news.ie.u-ryukyu.ac.jp |
63 #set news_cache_dir=~/.mutt/news-cache | |
64 #set newsrc=~/.newsrc | |
65 #set nntp_newsrc=~/.newsrc | |
11
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
66 ### for サイドバーpatch |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
67 set sidebar_width=15 |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
68 #set sidebar_delim='│' |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
69 set sidebar_delim='|' |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
70 set sidebar_visible=yes |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
71 |
1
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
72 ### KeyBindings |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
73 # for Pager |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
74 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
|
75 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
|
76 bind pager o exit |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
77 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
|
78 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
|
79 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
|
80 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
|
81 bind pager < top |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
82 bind pager > bottom |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
83 # for Index |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
84 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
|
85 bind index \Cu half-up |
3 | 86 bind index < first-entry |
87 bind index > last-entry | |
11
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
88 bind index \Co sidebar-open |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
89 bind index \Cp sidebar-prev |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
90 bind index \Cn sidebar-next |
3 | 91 |
92 ### Macros | |
11
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
93 macro generic,index G !fetchmail^M |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
94 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
|
95 macro index \Cb '<enter-command>toggle sidebar_visible<enter>' |
3 | 96 |
97 ### パイプ | |
98 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
|
99 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
100 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
101 ### カラー設定 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
102 # 通常 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
103 color search black yellow |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
104 color status yellow blue |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
105 color indicator brightyellow magenta |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
106 color tree yellow black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
107 # bodies |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
108 color normal white black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
109 color quoted cyan black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
110 color quoted1 green black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
111 color quoted2 red black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
112 color attachment brightmagenta black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
113 # ヘッダ |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
114 color hdrdefault black white |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
115 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
|
116 # メッセージ |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
117 color message brightwhite black |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
118 color error red black |
11
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
119 # サイドバー |
590cacb6b801
modify many things of Xdefaults.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
10
diff
changeset
|
120 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
|
121 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
122 #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
|
123 #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
|
124 #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
|
125 #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
|
126 #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
|
127 #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
|
128 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
129 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
130 ### ヘッダ非表示 |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
131 ignore * |
c8c579f62d99
add rc files that have relation with mailer.
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff
changeset
|
132 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
|
133 |