docs » HSearch

Hammerspoon Search

Download: https://github.com/Hammerspoon/Spoons/raw/master/Spoons/HSearch.spoon.zip

API Overview

API Documentation

Methods

loadSources
Signature HSearch:loadSources()
Type Method
Description Load new sources from `HSearch.search_path`, the search_path defaults to `~/.hammerspoon/private/hsearch_dir` and the HSearch Spoon directory. Only useful for debugging purposes.
Parameters
  • None
Returns
Source Source/HSearch.spoon/init.lua line 187
switchSource
Signature HSearch:switchSource()
Type Method
Description Trigger new source according to `hs.chooser`'s query string and keyword. Only useful for debugging purposes.
Parameters
  • None
Returns
Source Source/HSearch.spoon/init.lua line 99
toggleShow
Signature HSearch:toggleShow()
Type Method
Description Toggle the display of HSearch
Parameters
  • None
Returns
Source Source/HSearch.spoon/init.lua line 243