Comments (4)
Ew … Yes, it works as intended, but not all.
The below uses youdao dict
’s data (an English-Chinese translation service based in China). If you type really fast, the chance is the returned results may not catch up with you due to the network latency. But still, you can use English thesaurus (Ctrl + D).
The white transparent text on the top is “autosuggestions” (something like that), which is not part of Hammerspoon Chooser control. I simply “draw" a text frame above Chooser control to place word suggestions. The drawback is the text frame’s appearance don’t match Chooser control very well, though I could use more time to adjust it, even make its appearance to change according to the system’s Dark Mode preference.
For now if you found it is useless and disturbing, feel free to use the line below to disable it.
usesuggest = false
I'm thinking maybe I can put word suggestions into the below, and when the users stop typing for certain interval, retrieve translation data and replace the original data below. But I still need time to verify and test.
from awesome-hammerspoon.
This makes sense, thank you.
I guess, this isn't really useful for me, only the thesaurus part is. :)
I wanted to ask you. How can I turn off all modes aside from RESIZE and VIEW :
I don't want them taking hotkeys as I want to use them for other things.
from awesome-hammerspoon.
Yes, you can remove the default modules and add your own. See README.md
's Customization section.
Add the snippet below into ~/.hammerspoon/awesomeconfig.lua
module_list = {
"basicmode",
}
You may find some hotkeys still work. From I can see from the above screenshot, including:
- Enter app mode - OPT + A
- Open Hammerspoon console - OPT + Z
- Show window hints - OPT + Tab
Those hotkeys exists because their code are too short, creating a new module/file is not economic, so they are merged into one module/file.
Still, yes, you can modify these hotkeys or simply disable them.
appM_keys = {{}, ""}
toggleconsole_keys = {{}, ""}
winhints_keys = {{}, ""}
from awesome-hammerspoon.
Thank you, this is perfect.
from awesome-hammerspoon.
Related Issues (20)
- 当我关闭 shortcut 显示后,窗口模式下,如何让那个红点居中呢? HOT 8
- Add a shortcut to show/hide all widgets HOT 5
- Unable to disable window hints HOT 1
- Calendar date is not correct HOT 1
- CountDown spoon causes switching spaces to focus on Hammerspoon rather than currently visible application HOT 5
- interacting with workspaces? HOT 1
- A alternative window mover approach? HOT 5
- Can I only use left alt with hammerspoon? HOT 1
- How to disable the cheatsheet when I press "alt + A"
- Can window be set to two-thirds and one-third of the screen? HOT 1
- how to open Terminal? HOT 1
- WinWin Spoon is newer than this in Hammerspoon website
- Some Window Manipulations don't work
- git warning HOT 1
- BingDaily don't refresh every 3h
- 老哥,HCalendar被Dock栏遮挡如何解决 HOT 2
- WinWin doesn't split windows equal size
- Hsearch call chooser:hide() block me 3 seconds HOT 1
- Slow windows hints HOT 1
- 大佬,如果只想要cheatsheet和aria2c这两个功能的话,我应该怎么编辑配置文件呢
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from awesome-hammerspoon.