Skip to content

nathancahill/Anycomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 

Repository files navigation

Anycomplete

The magic of Google Autocomplete while you're typing. Anywhere.

Installation

Anycomplete is an extension for Hammerspoon. Once Hammerspoon is installed, you can install the Autocomplete Spoon:

$ git clone https://github.com/nathancahill/anycomplete.git ~/.hammerspoon/Spoons/Anycomplete.spoon

To initialize, add to ~/.hammerspoon/init.lua (creating it if it does not exist):

anycomplete = hs.loadSpoon("Anycomplete")
anycomplete.bindHotkeys()

Reload the Hammerspoon config.

Usage

Trigger with the hotkey ⌃⌥⌘G. Once you start typing, suggestions will populate. They can be choosen with ⌘1-9 or by pressing the arrow keys and Enter. Pressing ⌘C copies the selected item to the clipboard.

The hotkey can be changed by passing an argument to bindHotkeys call (in your ~/.hammerspoon/init.lua file) such as:

anycomplete:bindHotkeys({{"cmd", "ctrl"}, "L"})

Warning

Google might block your IP address if you use this. See #26.

Privacy

No keystrokes are sent to Google until you trigger the hotkey and start typing. If you prefer DuckDuckGo, set the engine option:

anycomplete = hs.loadSpoon("Anycomplete")
anycomplete.engine = "duckduckgo"
anycomplete.bindHotkeys()

About

The magic of Google Autocomplete while you're typing. Anywhere.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages