
我設定了 mutt 來尋找我的 OS X 聯絡人,當我撰寫新郵件時,開始輸入姓名並點擊<TAB>
或<C> - t
。這很好用,給了我一個包含建議的清單。
set query_command = "contacts -Sf '%eTOKEN%n' '%s' | sed -e 's/TOKEN/\t/g'"
bind editor <Tab> complete-query
bind editor ^T complete
當我跑進一個多路復用器會話中,該命令不起作用。我嘗試用 進行調試mutt -d 2
,但沒有錯誤。
tmux 是否會阻止某些按鍵或阻止 mutt 運行 shell 命令?
答案1
這個問題與此有些關係https://robots.thoughtbot.com/how-to-copy-and-paste-with-tmux-on-mac-os-x
如果您安裝了自製軟體,您可以執行以下操作來解決您的問題:
- $
brew install reattach-to-user-namespace
- 將其新增至您的 tmux 設定檔
set-option -g default-command "reattach-to-user-namespace -l zsh"
(將 zsh 替換為您選擇的 shell)
你應該很高興離開這裡!