bhoogle: Simple terminal GUI for local hoogle.

[ bsd3, development, program, terminal ] [ Propose Tags ]

bhoogle is a terminal GUI layer over local hoogle. It provides search ahead and sub-string filtering in addition to the usual type-search.


[Skip to Readme]
Versions 0.1.1.1, 0.1.2.1, 0.1.2.2, 0.1.2.3, 0.1.2.4, 0.1.2.5, 0.1.2.6, 0.1.2.7, 0.1.2.9, 0.1.3.1, 0.1.3.2, 0.1.3.3, 0.1.3.4, 0.1.3.5
Dependencies base (>=4.9.1.0 && <5), brick (>=0.37.1 && <0.38.0), bytestring (>=0.10.8.2 && <0.10.9.0), containers (>=0.5.11.0), directory (>=1.3.0.2 && <1.3.2.0), filepath (>=1.4.1.2 && <1.4.2.0), hoogle (>=5.0.17.3 && <5.0.18.0), lens (>=4.16.1 && <4.17.0), process (>=1.6.3.0 && <1.6.4.0), protolude (==0.2.2.*), text (>=1.2.3.0 && <1.2.4.0), time (>=1.8.0.2 && <1.8.1.0), typed-process (>=0.2.2.0 && <0.2.3.0), vector (>=0.12.0.1 && <0.12.2.0), vty (>=5.21 && <5.23) [details]
License BSD-3-Clause
Copyright 2018 Andre Van Der Merwe
Author Andre Van Der Merwe
Maintainer andre@andrevdm.com
Category Development, Terminal
Home page https://github.com/andrevdm/bhoogle#readme
Source repo head: git clone https://github.com/andrevdm/bhoogle
Uploaded by andrevdm at Wed Jul 11 16:51:42 UTC 2018
Distributions LTSHaskell:0.1.3.5, NixOS:0.1.3.5, Stackage:0.1.3.5
Executables bhoogle
Downloads 674 total (67 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-07-11 [all 3 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for bhoogle-0.1.3.1

[back to package description]

Hoogle terminal GUI.

bhoogle is a simple terminal GUI wrapper over hoogle.

ui

Setup

  • Make sure you have a local hoogle database created
  • If you don't already, then
    1. Install hoogle (e.g. stack install hoogle or cabal install hoogle)
    2. Generate the default database (hoogle generate)

Usage

  1. Enter a search in the "type" edit box
  2. Press enter to search: focus goes directly to the results list
  3. Or press tab to search and focus will go to the "text" edit box
  4. You can then filter the results by typing in the "text" edit box, any result containing the sub-string typed will be shown
  5. Navigate the results by using arrow or vi (hjkl) keys
  6. Pressing 's' in the results list will toggle the sort order
  7. Escape to exit
  8. Search-ahead is enable for any type search longer than ~3 characters
  9. When a result is selected p yanks the package name
  10. When a result is selected m yanks the module name

Settings

Location: ~/.config/bhoogle/bhoogle.conf

Eg:

yank=xclip
yankArgs=-selection c

Note that the version described in the blog is on the blog branch.