Repository navigation
Releases
Releases · rsdlt/levi
levi 0.20.0
Added
levi --focusprints 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--focusexits 1 when no levi is open there.- A tmux plugin, like the herdr one:
prefix Gopens levi in a popup over your agent's pane,
andEntertypes the reference into it, unsent. Install it with TPM
(set -g @plugin 'rsdlt/levi') orrun-shell levi.tmux;@levi-keypicks another key.
levi 0.19.0
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./csearches it too. Enter andC-ysay 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
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
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 whenC-o's editor
returns.
levi 0.16.0
Added
levi --pick-context: Enter prints a one-line reference to what's on screen instead of the
sha, such ascommit 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
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/cmatches 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 withNO_COLOR, there are none.
Changed
- A shorter README, with a section on working with coding agents. The Neovim floating-window
recipe moved todocs/neovim.md, and the maintainer notes toCONTRIBUTING.md.
levi 0.14.1
Fixed
Ctrl-Oinside$(levi), as ingit 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
Added
levi --filter '<query>' [revision]runs the search without the TUI, likefzf --filter, and
prints<sha> <subject>per match, best first. For scripts and coding agents: the full query
syntax,/cand/rincluded. It exits 1 when nothing matches.Ctrl-Oopens 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, thenvi; 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
Added
Ctrl-Ycopies 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 throughpbcopyor
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 assha subjectlines likegit 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
Added
levi -vprints the version, like-Vand--version.- Without a terminal, as in a script, levi says it needs one instead of failing with an OS error.
Ctrl-Wdeletes the last word of the query, as in a shell.NO_COLORturns 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-gitdownloads them too.