Testimonial follows
====
I did a couple small corrections to your suggested steps:
I replaced steps from 1 to 4 with the following
viewconfigSave or Copy button and store the JSON config content somewhereI've also replaced the step 9 with the following:
Run the following command in the console and paste the JSON string text that you saved earlier in the pop box field that will be displayed:
let myConfig = JSON.parse(prompt('Paste the JSON string in the field below')); Object.keys(myConfig).forEach(key => tri.config.set(key, myConfig[key])); alert('Tridactyl settings saved!')
I suggest your instructions to be documented somewhere also, I think this could be useful to many people, thank you for your time!
_Originally posted by @GlassGruber in https://github.com/tridactyl/tridactyl/issues/792#issuecomment-462635191_
Hey there, I just reassembled the whole procedure steps for completeness
viewconfig commandSave or Copy button and store the JSON config content somewhere<C-I>Run the following command in the console and paste the JSON string text that you saved earlier in the popup box field that will be displayed:
let myConfig = JSON.parse(prompt('Paste the JSON string in the field below')); Object.keys(myConfig).forEach(key => tri.config.set(key, myConfig[key])); alert('Tridactyl settings saved!')
How does this procedure of copying the JSON data dump compare to using :mkt to export an RC file with all current settings and keeping that in ~/.config/tridactyl/tridactylrc?
The migration steps here will bake all of your settings, not just ones you set, so if we ever changed any defaults (e.g. because there's a bug) you would not get those updates. The RC method only includes settings you have set so wouldn't have that issue. (There's no fundamental reason we couldn't change the migration steps to stop this baking though).
The RC method needs the native messenger and, in practice, running the RC files isn't 100% reliable when getting the settings back into Tridactyl, especially if they are large.
Most helpful comment
Hey there, I just reassembled the whole procedure steps for completeness
viewconfigcommandSaveorCopybutton and store the JSON config content somewhere<C-I>Run the following command in the console and paste the JSON string text that you saved earlier in the popup box field that will be displayed: