Skip to content

Releases

levi 0.20.0

Choose a tag to compare

@github-actions github-actions released this 22 Oct 00:13

Added

  • levi --focus prints what the levi open in this repository shows: the commit, the file and
    the lines in view or under a drag, like --pick-context. Tell your agent "look at what I
    have open in levi" and it runs that. levi keeps the note in the temp directory, never in the
    repository, and --focus exits 1 when no levi is open there.
  • A tmux plugin, like the herdr one: prefix G opens levi in a popup over your agent's pane,
    and Enter types the reference into it, unsent. Install it with TPM
    (set -g @plugin 'rsdlt/levi') or run-shell levi.tmux; @levi-key picks another key.

levi 0.19.0

Choose a tag to compare

@github-actions github-actions released this 20 Oct 23:48

Added

  • Uncommitted changes show as a red row on top of the log, working uncommitted changes:
    staged, unstaged and untracked files against HEAD, with the same search, diffs and keys as
    a commit. It follows the working tree as an agent edits it, keeping your place in the diff,
    and goes once everything is committed. /c searches it too. Enter and C-y say it has no
    sha; with --pick-context, Enter names it and the lines in view. levi still never writes
    to your repository: reading the working tree doesn't touch the index.

levi 0.18.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 22:26

Added

  • Drag the border between two panes to resize them. A double-click on it puts the layout back
    to its defaults. Sizes are kept as proportions, for the session only.

levi 0.17.0

Choose a tag to compare

@github-actions github-actions released this 19 Oct 18:51

Added

  • levi follows the repository while it's open. New commits, from a commit or a pull in another
    terminal or by an agent, show up on top within two seconds, and the status line says how
    many. An amend, rebase or reset reloads the list. Either way, the search and the selected
    commit stay. It also checks when the terminal regains focus and when C-o's editor
    returns.

levi 0.16.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 17:19

Added

  • levi --pick-context: Enter prints a one-line reference to what's on screen instead of the
    sha, such as commit d3a93ab ("Stack the lists"), src/ui.rs lines 27-40, with the lines in
    view or under a drag selection. Made for handing a find to a person or an agent.
  • A herdr plugin (herdr plugin install rsdlt/levi/herdr): from your
    agent's pane, a key opens levi over it in the agent's repository, and what you pick lands in
    the agent's input, unsent, for you to finish the question.

levi 0.15.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 15:42

Added

  • Syntax colors in the diff, by language, in your terminal's own 16 colors so they follow its
    theme. A solid green or red bar marks added and removed lines, removed code is dimmed, and
    changed words and /c matches still stand out. Files in unknown languages look as before.
    Diffs still show at once; colors arrive a moment later, and a huge diff never holds up the
    next one.
  • Soft green and red backgrounds behind added and removed lines, on truecolor terminals that
    report their background (Ghostty, iTerm2, kitty, WezTerm and most modern ones). The tints are
    mixed from that background, so they suit dark and light themes alike; changed words get a
    stronger tint. Elsewhere, and with NO_COLOR, there are none.

Changed

  • A shorter README, with a section on working with coding agents. The Neovim floating-window
    recipe moved to docs/neovim.md, and the maintainer notes to CONTRIBUTING.md.

levi 0.14.1

Choose a tag to compare

@github-actions github-actions released this 18 Oct 02:32

Fixed

  • Ctrl-O inside $(levi), as in git show $(levi): the editor drew into the pipe meant for the
    sha instead of on the screen, and the redraw afterwards put a terminal query in front of the sha.
    The editor now uses the terminal levi draws on, and the sha comes out clean.

levi 0.14.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 02:08

Added

  • levi --filter '<query>' [revision] runs the search without the TUI, like fzf --filter, and
    prints <sha> <subject> per match, best first. For scripts and coding agents: the full query
    syntax, /c and /r included. It exits 1 when nothing matches.
  • Ctrl-O opens the selected file in your editor at the line you're reading, and levi carries on
    when you quit. Inside Neovim's terminal it opens in a new tab of that Neovim instead of nesting
    one. $VISUAL, then $EDITOR, then vi; Helix, Zed, Sublime and VS Code get the line their way.
    A file that's no longer in the working tree opens read-only as it was in that commit, or just
    before it for a file the commit deletes.
  • A README recipe for Neovim: levi in a floating window, the picked commit shown in a new tab.

Changed

  • Shift-↑/↓ hunk jumps carry on across files: past a file's last hunk, the next file opens at
    its first, and back the same way, so a whole commit reads with one key.

levi 0.13.0

Choose a tag to compare

@github-actions github-actions released this 18 Oct 01:05

Added

  • Ctrl-Y copies the selected commit's full sha to the clipboard and keeps levi open. It goes
    through the terminal (OSC 52, which works over SSH) and through pbcopy or
    wl-copy/xclip/xsel.
  • Drag with the mouse to copy. In the diff, exactly the text you drag over; past the top or
    bottom edge it scrolls along. In the lists, whole rows as full values: complete paths, and
    commits as sha subject lines like git log --oneline.

Changed

  • Long paths in the files column keep their end in view: leading directories give way first, as in
    …/components/frontend/Button.tsx, so the file name always shows. Renames are written like
    git diff --stat, with the shared directories once: src/{old.rs → new.rs}.

levi 0.12.0

Choose a tag to compare

@github-actions github-actions released this 17 Oct 19:05

Added

  • levi -v prints the version, like -V and --version.
  • Without a terminal, as in a script, levi says it needs one instead of failing with an OS error.
  • Ctrl-W deletes the last word of the query, as in a shell.
  • NO_COLOR turns colors off. The selection and code matches show in reverse video instead.
  • Prebuilt binaries on every GitHub release: macOS (Apple Silicon and Intel), static Linux
    (x86_64 and ARM64) and Windows. cargo binstall levi-git downloads them too.