前の検索結果を取得する

前の検索結果を取得する

Muttで検索開始を使用するときは、/簡単に使用して次の検索結果に移動できますn

しかし、私が行きたいならその他ルートと以前の検索結果を表示する(例:以前に一致したメールなど)?

キーバインディングはありますか? VimではN

ベストアンサー1

Mutt 1.11.4には、以前の検索結果を取得するためのキーバインディングはありませんが、1つを追加するのは簡単ですmuttrc

bind index N search-opposite
# Ctrl-n toggles whether a mail is considered new or not
bind index \cn toggle-new

Nデフォルトでは+にマップされているので、+toggle-newに再マップします。Ctrln

?これが完了したので、開始検索を逆にマッピングして(デフォルトはEsc+にマップします)、/MuttをVimのように動作させることができます。

bind index ? search-reverse
# ? used to show help, so we remap that
bind index <F1> help

おすすめ記事