4 CustomFilter
rubikitch edited this page 2015-10-23 12:56:27 +09:00

Migemo

See the README for migemogrep on how to get the binary releases (including homebrew)

Or, if like to live on the bleeding edge:

$ go get github.com/peco/migemogrep

Add part of below into your config.json

{
    "CustomFilter": {
        "Migemo": {
            "Cmd": "migemogrep"
        }
    }
}

Optionally, you may add "Args" and "BufferThreshold" parameters:

{
    "CustomFilter": {
        "Migemo": {
            "Cmd": "migemogrep",
            "Args": [ "$QUERY" ],
            "BufferThreshold": 20
        }
    }
}

If you do not provide an "Args" parameter, the default is [ "$QUERY" ]. If you do not provide a BufferThreshold parameter, the default is 100

Migemo / Word / helm-like negate match

See the pgrepper .