Crates.io | lazyjj |
lib.rs | lazyjj |
version | |
source | src |
created_at | 2024-05-21 19:58:31.065538 |
updated_at | 2024-10-08 05:06:47.006971 |
description | TUI for Jujutsu/jj |
homepage | |
repository | https://github.com/Cretezy/lazyjj |
max_upload_size | |
id | 1247164 |
Cargo.toml error: | TOML parse error at line 18, column 1 | 18 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
TUI for Jujutsu/jj. Built in Rust with Ratatui. Interacts with jj
CLI.
https://github.com/Cretezy/lazyjj/assets/2672503/b5e6b4f1-ebdb-448f-af9e-361e86f0c148
n
e
d
a
p
r
b
f
/p
Enter
w
a
c
, rename with r
, delete with d
, forget with f
t
, untrack bookmarks with T
h
/?
Make sure you have jj
installed first.
cargo binstall
: cargo binstall lazyjj
cargo install
: cargo install lazyjj
(may take a few moments to compile)pacman -S lazyjj
To build and install a pre-release version: cargo install --git https://github.com/Cretezy/lazyjj.git --locked
You can optionally configure the following options through your jj config:
lazyjj.higlight-color
: Changes the highlight color. Can use named colors. Defaults to #323264
lazyjj.diff-format
: Change the default diff format. Can be color-words
or git
. Defaults to color_words
lazyjj.diff-format
is not set but ui.diff.format
is, the latter will be usedlazyjj.bookmark-prefix
: Change the bookmark name prefix for generated bookmark names. Defaults to push-
lazyjj.bookmark-prefix
is not set but git.push-bookmark-prefix
is, the latter will be usedExample: jj config set --user lazyjj.diff-format "color-words"
(for storing in user config file, repo config is also supported)
To start lazyjj for the repository in the current directory: lazyjj
To use a different repository: lazyjj --path ~/path/to/repo
To start with a different default revset: lazyjj -r '::@'
See all key mappings for the current tab with h
or ?
.
q
1
/2
/3
j
/k
or down/up arrowJ
/K
or down/up arrowCtrl+e
/Ctrl+y
Ctrl+d
/Ctrl+u
Ctrl+f
/Ctrl+b
@
Enter
r
(jj log -r
)w
W
n
(jj new
)
N
(jj new -m
)e
(jj edit
)a
(jj abandon
)d
(jj describe
)
Ctrl+s
Esc
b
(jj bookmark set
)
j
/k
c
g
f
(jj git fetch
)
F
(jj git fetch --all-remotes
)p
(jj git push
)
P
(jj git push --all
)@
w
W
a
(jj bookmark list --all
)c
(jj bookmark create
)r
(jj bookmark rename
)d
(jj bookmark delete
)f
(jj bookmark forget
)t
(only works for bookmarks with remotes) (jj bookmark track
)T
(only works for bookmarks with remotes) (jj bookmark untrack
)w
W
n
(jj new
)
N
(jj new -m
)@
W
cargo run
cargo build --release
(output in target/release
)--path
: cargo run -- --path ~/other-repo
lazyjj has 2 debugging tools:
LAZYJJ_LOG=1
when running. Produces a lazyjj.log
log fileLAZYJJ_TRACE=1
when running. Produces trace-*.json
Chrome trace file, for chrome://tracing
or ui.perfetto.dev