Manix

A fast CLI documentation searcher for Nix.

Supported sources:

Usage

sh manix --help manix mergeattr manix --strict mergeattr manix --update-cache mergeattr

rnix-lsp

If you want to use it in your editor, check ElKowar's rnix-lsp fork, which uses it to provide documentation on hover and autocompletion.

manix

fzf

sh manix "" | grep '^# ' | sed 's/^# \(.*\) (.*/\1/;s/ (.*//;s/^# //' | fzf --preview="manix '{}'" | xargs manix

Installation

Nix

sh nix-env -i -f https://github.com/mlvzk/manix/archive/master.tar.gz

Kudos

The inspiration for this project came from nix-doc