Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/honza/mutt-notmuch-py


https://github.com/honza/mutt-notmuch-py

Last synced: about 5 hours ago
JSON representation

Awesome Lists containing this project

README

        

mutt-notmuch-py
===============

[![PyPI version](https://badge.fury.io/py/mutt-notmuch.svg)](https://badge.fury.io/py/mutt-notmuch)

This is a python version of the original mutt-notmuch script.

It will interactively ask you for a search query and then symlink the matching
messages to `$HOME/.cache/mutt_results`.

Add this to your muttrc.

```
macro index / "unset wait_keymutt-notmuch-py~/.cache/mutt_results" \
"search mail (using notmuch)"
```

This script overrides the `$HOME/.cache/mutt_results` each time you run a
query.

Install this by adding this file somewhere on your `PATH`.

Tested on OSX Lion, OSX El Capitan, Fedora 23, and Arch Linux.

Options
-------

```
-g Use gmail specific info (All Mail search)
-G Do not use gmail specific info
-p [path] Limit search results to files with path in the path name
--history-path=[path]
Save/Restore query history to given path
```

License
-------

BSD, short and sweet