Ich benutze Mavericks + iTerm + zsh + oh-my-zsh. Ich habe kein Problem damit, solarisiert in iTerm und vim zu verwenden. Aber es fällt mir schwer, Solarized in Mutt zu verwenden.
Laut der offiziellen Seite soll es so sein.
Ich habe xterm-256color in iTerm> Profile> Terminalemulation> Report Terminal Type.
Und das Folgende ist meine .muttrc.
# A basic .muttrc for use with Gmail
# Change the following six lines to match your Gmail account details
set imap_user = "my email"
set imap_pass = "my pw"
set smtp_url = "smtp://myemail@smtp.gmail.com:587/"
set smtp_pass = "mypw"
set from = "myemail here"
set realname = "My name"
# Change the following line to a different editor you prefer.
set editor = "nano"
# Basic config, you can leave this as is
set folder = "imaps://imap.gmail.com:993"
set spoolfile = "+INBOX"
set imap_check_subscribed
set hostname = gmail.com
set mail_check = 120
set timeout = 300
set imap_keepalive = 300
set postponed = "+[GMail]/Drafts"
set record = "+[GMail]/Sent Mail"
set header_cache=~/.mutt/cache/headers
set message_cachedir=~/.mutt/cache/bodies
set certificate_file=~/.mutt/certificates
set move = no
set include
set sort = 'threads'
set sort_aux = 'reverse-last-date-received'
set auto_tag = yes
ignore "Authentication-Results:"
ignore "DomainKey-Signature:"
ignore "DKIM-Signature:"
hdr_order Date From To Cc
alternative_order text/plain text/html *
auto_view text/html
bind editor <Tab> complete-query
bind editor ^T complete
bind editor <space> noop
# Gmail-style keyboard shortcuts
macro index,pager y "<enter-command>unset trash\n <delete-message>" "Gmail archive message"
macro index,pager d "<enter-command>set trash=\"imaps://imap.googlemail.com/[GMail]/Bin\"\n <delete-message>" "Gmail delete message"
macro index,pager gi "<change-folder>=INBOX<enter>" "Go to inbox"
macro index,pager ga "<change-folder>=[Gmail]/All Mail<enter>" "Go to all mail"
macro index,pager gs "<change-folder>=[Gmail]/Starred<enter>" "Go to starred messages"
macro index,pager gd "<change-folder>=[Gmail]/Drafts<enter>" "Go to drafts"
# personal
set send_charset="utf-8"
# URL view
# macro pager \cb <pipe-entry>'w3m'<enter> 'Follow links in w3m'
macro index,pager \cB ": unset wait_key; set pipe_decode\n|w3m\n: set wait_key; unset pipe_decode\n" "call w3m to extract URLs out of a message"
# goobook for gmail contact
# mail address completion
set query_command="goobook query "'%s'"
bind editor <Tab> complete-query
macro index,pager a "<pipe-message>goobook add<return>" "add the sender address to Google contacts"
# color scheme
source ~/.mutt/mutt-colors-solarized/mutt-colors-solarized-dark-256.muttrc
# vim-ish keybindings for going to the bottom of things
bind pager "G" bottom
## split window
set pager_index_lines=10
Und das sehe ich in meinem Mutt.
Ich würde gerne wissen, was ich sonst noch tun muss.
Danke im Voraus.
AKTUALISIEREN
Ich lese diese und fand diese Zeilen.
# make sure that you are using mutt linked against slang, not ncurses, or
# suffer the consequences of weird color issues. use "mutt -v" to check this.
Wenn ich es tue mutt -v
. Ich bekomme folgendes.
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
Also ich meine Frage erraten ist , wie ich ändern kann , ncurses
zu slang
.
UPDATE
Ich habe Mutt mit installiert brew install mutt
.