Comments (8)
I understand your pain. Henceforth, settings on custom profiles will carry forward until version 2.0, which won't happen for a while. Here are the concrete details:
- built-in profiles will reset on every release (and automatically have bindings for new commands)
- custom profiles will never update (so you'll have to manually add bindings for new commands)
- the active profile for each category will never reset
Hopefully this is a good compromise. I'll also add the option to import/export settings, though this may take longer to release.
Coming up with good default bindings is one of my biggest challenges. I highly appreciate any suggestions. Default bindings for each built-in profile are defined in https://github.com/lusakasa/saka-key/blob/master/src/modes/command/default.json.
Thanks for the feedback!
from saka-key.
Thank you very-very much!! :)
from saka-key.
I'm in the process migrating to saka-key
from http://5digits.org/help/pentadactyl/index.xhtml
In general, I like the more orthogonal grouping of bindings with saka-key
, but I also like the single key shortcuts and the VIM styled binding of pentadactyl
.
An approach to allowing customer profiles/overrides would be welcome.
Thanks
from saka-key.
Hi gliptak, you can actually define your own profiles in the current release. Just go to the options page and click on the triple vertical dots at the top right of each settings category and select new. You can then change any settings you wish. The Command category has four built-in profiles. The default one is designed for beginners and contains multi-key bindings so they don't accidentally trigger a command unintentionally. The power profile has single key bindings that should be faster, but a little harder to remember. Thanks for the link to Pendactyl. I'll definitely draw inspiration from those bindings. I'll be sure to update the handbook at http://saka-key.lusakasa.com to make sure it includes all this info.
from saka-key.
@eejdoowad Thank you for the pointer on the power profile. Multiple profiles do allow for needs of wider groups of users.
from saka-key.
@DanBondarenko I'd like to make one last breaking change to the way settings are stored on the backend to facilitate support for importing and exporting options and simplify the storage logic. Sorry, but this means that you'll have to put up with having your settings reset for one last release. Record your settings somewhere before the next release, which should happen in the next couple days.
The release will include support for importing and exporting settings to/from a json file like the following.
{
"storageFormatVersion": 1,
"selectedProfiles": {
"Basic": "sufyan",
"Command": "default",
"Hints": "vimium"
},
"customProfiles": [
{
"category": "Basic",
"name": "sufyan",
"options": {
"enabled": true,
"preventStealFocus": true,
"disablePageShortcuts": false,
"hintDetectByCursorStyle": true,
"smoothScroll": true,
"scrollStep": 26
}
},
{
"category": "Basic",
"name": "test",
"options": {
"enabled": true,
"preventStealFocus": true,
"disablePageShortcuts": true,
"hintDetectByCursorStyle": true,
"smoothScroll": true,
"scrollStep": 10
}
},
{
"category": "Command",
"name": "test",
"options": {
"physicalKeys": true,
"ignoreModifierKeys": false,
"toggleHelpMenu": [
[{ "code": "Slash", "key": "?", "shiftKey": true }]
],
"toggleOmnibar": [],
"openLink": [],
"openLinkInBackgroundTab": [],
"openLinkInForegroundTab": [],
"openLinkInNewWindow": [],
"openLinkInIncognitoWindow": [],
"downloadLink": [],
"focusLink": [
[{ "code": "KeyF", "key": "f"}, { "code": "KeyL", "key": "l" }]
],
"hintChars": "ajskdlgheworuvncm",
"scrollDown": [
[{ "code": "KeyD", "key": "d" }],
[{ "code": "KeyJ", "key": "j" }]
],
"scrollUp": [],
"scrollLeft": [],
"scrollRight": [],
"scrollPageDown": [],
"scrollPageUp": [],
"scrollHalfPageDown": [],
"scrollHalfPageUp": [],
"scrollToBottom": [],
"scrollToTop": [],
"goBack": [],
"goForward": [],
"goUp": [],
"goToRoot": [],
"nextTab": [],
"previousTab": [],
"firstTab": [],
"lastTab": [],
"moveTabLeft": [],
"moveTabRight": [],
"moveTabFirst": [],
"moveTabLast": [],
"closeTab": [],
"closeOtherTabs": [],
"closeLeftTabs": [],
"closeRightTabs": [],
"newTab": [],
"restoreTab": [],
"duplicateTab": [],
"switchWindow": [],
"zoomIn": [],
"zoomOut": [],
"zoomReset": [],
"refreshTab": [],
"refreshAllTabs": [],
"toggleMuteTab": [],
"toggleMuteAllTabs": [],
"togglePinTab": [],
"passOneKey": [],
"passAllKeys": [],
"copyURL": [],
"clipboardCurrentTab": [],
"clipboardBackgroundTab": [],
"clipboardForegroundTab": [],
"clipboardNewWindow": [],
"clipboardIncognitoWindow": [],
"developerMode": []
}
}
]
}
from saka-key.
@eejdoowad, Thank you for including this functionality in the update!
from saka-key.
I've released version 1.16. It includes all requested features. Took a lot more time than anticipated. I ended up rewriting all the logic behind how options work (which required modifying about 50 files). The end result is Saka Key should be much more reliable, the code should be much easier to understand, and you can import/export/reset your settings as well as create new blank profiles. Thanks!
from saka-key.
Related Issues (20)
- "Close tab" shortcut closes pinned tabs
- ← and → arrows do not work when viewing photos on some sites
- How do I restore options?
- Issues with the Clipboard? HOT 1
- [Documentation] saka key is not bound to key character but to key physical location on keyboards HOT 2
- Clipboard paste should use default search engine instead of hardcoded Google search HOT 1
- the "open link" functions crashing
- Saka-key extension not opening correctly HOT 2
- Settings window unusable HOT 1
- where is the documentation for Saka-key? HOT 1
- Firefox 87, Export Options to File. HOT 1
- Saka Key not working with Firefox 87
- Chrome Store Extension Not Found HOT 26
- Saka Key violates the Brave Web Store policy HOT 2
- "Open Link in Background Tab" opens two tabs instead one HOT 11
- Is it possible to migrate to Zotero?
- set font size
- how to over-write browser-keys ! :(
- Is the developement still active?
- I would like to add Saka Keys to my Google Chrome browser. HOT 5
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 saka-key.