5 ms·
Although it is currently undocumented, since v0.21.0 you can make `--edit` the default by adding the following to your configuration: [ui.movement] edit =
by gechr 2y ago
Although it is currently undocumented, since v0.21.0 you can make `--edit` the default by adding the following to your configuration:
[ui.movement]
edit = true
Ref: https://github.com/jj-vcs/jj/pull/4283 https://github.com/jj-vcs/jj/pull/4283
- hinkley 2y agoThe config file needs a lot of love. As does the help. If you clone the repo there’s a bunch of documentation and example files, but if you install jj, those do not exist.
- ilyagr 2y agoEach release comes with a file with all the help, for example: https://github.com/jj-vcs/jj/releases/download/v0.25.0/jj-v0.25.0-docs-html.tar.gz https://github.com/jj-vcs/jj/releases/download/v0.25.0/jj-v0... In theory, packagers could put these docs somewhere. I'm not sure what the best way is to make it convenient to use. Also, I'm not sure about jj v0.25, but in the upcoming (probably tomorrow) 0.26, you can get a lot of docs by doing e.g. `jj help -k config`. Ironically, this fact is currently somewhat under-documented. `jj help` just says at the end: `'jj help --help' lists available keywords. Use 'jj help -k' to show help for one of these keywords.`
- hinkley 2y agoYeah I made it as far as planning out a change to the `jj config --help` output to at least link to the documentation and then realized that my copy didn't have the documentation. Oops. And then I got occupied by some other FOSS bug and forgot to circle back. Unfortunately there was a gap between installing it and trying it for the clever merge resolution use case I had in mind, and I've forgotten how I installed it, so I need to reverse engineer that to figure out how I got here.
- nulld3v 2y agoIf your editor supports TOML schemas you can add the following to the config file to get autocomplete and in-editor documentation: "$schema" = "https://jj-vcs.github.io/jj/prerelease/config-schema.json" More info here: https://jj-vcs.github.io/jj/prerelease/config/#json-schema-support https://jj-vcs.github.io/jj/prerelease/config/#json-schema-s... (I changed latest -> prerelease in the URL as this feature has been merged but not yet released).