### Install Lazyjj from Git Source: https://github.com/cretezy/lazyjj/blob/main/README.md Build and install a pre-release version of lazyjj directly from its Git repository. ```bash cargo install --git https://github.com/Cretezy/lazyjj.git --locked ``` -------------------------------- ### Install Lazyjj with Cargo Install Source: https://github.com/cretezy/lazyjj/blob/main/README.md Install lazyjj using cargo install. This method may take a few moments to compile. ```bash cargo install lazyjj --locked ``` -------------------------------- ### Install Lazyjj with Cargo Binstall Source: https://github.com/cretezy/lazyjj/blob/main/README.md Use cargo binstall for a quick installation of lazyjj. ```bash cargo binstall lazyjj ``` -------------------------------- ### Start Lazyjj for a Specific Repository Source: https://github.com/cretezy/lazyjj/blob/main/README.md Initialize lazyjj for a Git repository located at a specified path. ```bash lazyjj --path ~/path/to/repo ``` -------------------------------- ### Install Lazyjj on Arch Linux Source: https://github.com/cretezy/lazyjj/blob/main/README.md Install lazyjj using the pacman package manager on Arch Linux. ```bash pacman -S lazyjj ``` -------------------------------- ### Configure Lazyjj Keybindings Source: https://github.com/cretezy/lazyjj/blob/main/README.md Example TOML configuration for setting custom keybindings in the log tab. Refer to keybindings.md for more options. ```toml [lazyjj.keybinds.log_tab] save = "ctrl+s" ``` -------------------------------- ### Start Lazyjj in Current Directory Source: https://github.com/cretezy/lazyjj/blob/main/README.md Launch lazyjj for the Git repository located in the current working directory. ```bash lazyjj ``` -------------------------------- ### Start Lazyjj with a Default Revset Source: https://github.com/cretezy/lazyjj/blob/main/README.md Begin lazyjj session with a specified default revision set. ```bash lazyjj -r '::@' ``` -------------------------------- ### Run Lazyjj from Source Source: https://github.com/cretezy/lazyjj/blob/main/README.md Instructions for running Lazyjj directly from the source code using Cargo. Includes options for specifying an alternative jj repository path. ```bash cargo run ``` ```bash cargo run -- --path ~/other-repo ``` -------------------------------- ### Configure Keybindings in TOML Source: https://github.com/cretezy/lazyjj/blob/main/docs/keybindings.md Learn how to change, set multiple, or disable keybindings using TOML syntax. Use a single string for one keybinding, an array for multiple, or `false` to disable. ```toml # change keybinding save = "ctrl+s" ``` ```toml # set multiple keybindings save = ["ctrl+s", "ctrl+shift+g"] ``` ```toml # disable keybinding save = false ``` -------------------------------- ### Enable Lazyjj Logging Source: https://github.com/cretezy/lazyjj/blob/main/README.md Environment variable to enable logging in Lazyjj. This will generate a lazyjj.log file. ```bash LAZYJJ_LOG=1 ``` -------------------------------- ### Enable Lazyjj Tracing Source: https://github.com/cretezy/lazyjj/blob/main/README.md Environment variable to enable tracing in Lazyjj. This generates a Chrome trace file for performance analysis. ```bash LAZYJJ_TRACE=1 ``` -------------------------------- ### Build Lazyjj Release Source: https://github.com/cretezy/lazyjj/blob/main/README.md Command to build a release version of Lazyjj. The output executable will be located in target/release. ```bash cargo build --release ``` -------------------------------- ### Log Tab Keybindings Configuration Source: https://github.com/cretezy/lazyjj/blob/main/docs/keybindings.md Defines default keybindings for actions within the log tab of LazyJJ. This includes navigation, editing, and pushing operations. ```toml [lazyjj.keybinds.log_tab] save = "ctrl+s" cancel = "esc" close-popup = "q" scroll-down = ["j", "down"] scroll-up = ["k", "up"] scroll-down-half = "shift+j" scroll-up-half = "shift+k" focus-current = "@" toggle-diff-format = "w" refresh = ["shift+r", "f5"] create-new = "n" create-new-describe = "shift+n" duplicate = "shift+d" squash = "s" squash-ignore-immutable = "shift+s" edit-change = "e" edit-change-ignore-immutable = "shift+e" abandon = "a" describe = "d" edit-revset = "r" set-bookmark = "b" open-files = "enter" push = "p" push-new = "ctrl+p" push-all = "shift+p" push-all-new = "ctrl+shift+p" fetch = "f" fetch-all = "shift+f" open-help = "?" ``` -------------------------------- ### Run JJ Commands in Lazyjj Source: https://github.com/cretezy/lazyjj/blob/main/README.md Execute jj commands directly within lazyjj by prefixing the command with a colon. The 'jj' prefix is not required. ```bash :new main ``` -------------------------------- ### Configure Lazyjj Diff Format Source: https://github.com/cretezy/lazyjj/blob/main/README.md Set the default diff format for lazyjj using the jj config command. This configuration can be stored in the user or repo config file. ```bash jj config set --user lazyjj.diff-format "color-words" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.