Я использую Mavericks+iTerm+zsh+oh-my-zsh. У меня нет проблем с использованием соляризованных в iTerm и vim. Но мне трудно использовать солярий в Mutt.
Согласно официальному сайту, так и должно быть.
У меня есть xterm-256color в iTerm> Профили> Эмуляция терминала> Тип терминала отчета.
И вот мой .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
И это то, что я вижу в своем матте.
Я хотел бы знать, что еще мне нужно сделать.
Заранее спасибо.
ОБНОВИТЬ
Я читал это и нашел эти строки.
# 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.
Когда я делаю mutt -v
. Я получаю следующее.
ncurses: ncurses 5.7.20081102 (compiled with 5.7)
Поэтому я предполагаю, что мой вопрос заключается в том, как я могу изменить ncurses
на slang
.
ОБНОВЛЕНИЕ Я установил Mutt с brew install mutt
.