Comments (1)
There is currently no way to configure the keyMap
from Hint
instances, because Krabby does create the object itself. Iām not happy with that and plan to change it.
For the time being, you can override the class method Hint.KEY_MAP
:
~/.config/krabby/config.js
Hint.KEY_MAP = () => ({
Digit1: '1', Digit2: '2', Digit3: '3', Digit4: '4', Digit5: '5', Digit6: '6', Digit7: '7', Digit8: '8', Digit9: '9', Digit0: '0',
KeyQ: 'q', KeyW: 'w', KeyE: 'e', KeyR: 'r', KeyT: 't', KeyY: 'y', KeyU: 'u', KeyI: 'i', KeyO: 'o', KeyP: 'p',
KeyA: 'a', KeyS: 's', KeyD: 'd', KeyF: 'f', KeyG: 'g', KeyH: 'h', KeyJ: 'j', KeyK: 'k', KeyL: 'l',
KeyZ: 'z', KeyX: 'x', KeyC: 'c', KeyV: 'v', KeyB: 'b', KeyN: 'n', KeyM: 'm'
})
Here are some links to figure out how things work:
- https://github.com/alexherbo2/krabby/blob/master/docs/configuration.md#keyboard-layout
- https://github.com/alexherbo2/hint.js/blob/master/src/hint.js
- https://github.com/alexherbo2/krabby/blob/master/src/krabby/web/krabby.js
EDIT
If you are looking for the keys (not the display), see the keys
class method and property in hint.js
.
from krabby.
Related Issues (20)
- configuration help: how do i make it keyboard DEpendent HOT 9
- Is the Crystal depency actually necessary? HOT 1
- mpv does not work by default on Vivaldi >3.0 or when using "proprietary media codecs" (libffmpeg.so) HOT 22
- Can't search tabs and history HOT 1
- Krabby Lite? HOT 6
- Keymap change HOT 3
- dmenu not working in firefox HOT 4
- Empty git repository inside config directory after installing HOT 2
- Document the upgrade process
- How to style/customize mode indicator HOT 2
- Add Vieb to the list of alternatives?
- alternatives.md: Next is now Nyxt
- Yo! Can I navigate web inspector with krabby? HOT 2
- Alt_R doesn't function as an Alt key
- Disable krabby based on URL HOT 6
- Manifest v3 Update Breaks Installation on Firefox HOT 2
- Hover on elements
- Provide a way to pick manifest version when compiling HOT 1
- Why is Krabby not in either Chrome or Firefox extension stores? HOT 1
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 krabby.