Repository navigation
Tags
Tags
Space p lists saved work trees. Enter switches to one, a adds a path,… … and d removes one. Tab in the add prompt cycles matching directories. Type / and Tab again to go into the current name. Bare rv restores that list from any directory. rv path opens that work tree and saves it. The list is the projects file next to the user display config. Comment, search, and add-path prompts share one orange bar. Install with `mise use -g github:Zooce/rv`, or pin `github:Zooce/rv@2.6`. `rv --version` prints `2.6`.
Layout, line numbers, and wrap load from a config file. The user file… … is $XDG_CONFIG_HOME/rv/config, or ~/.config/rv/config. A key in .rv/config overrides that key. t, #, and w change only this session. gg jumps to the first row and ge to the last, on the diff and on each list that moves with j and k. A left click jumps to the line under the pointer. The title bar lists the keys for that screen. The footer names the line and the open comments, and leaves a zero count off. Approving is faster when many hunks are already approved, and when an earlier approval sits inside a wide change block. Install with `mise use -g github:Zooce/rv`, or pin `github:Zooce/rv@2.4`. `rv --version` prints `2.4`.
Changed words on a line are green or red. Unchanged words on that lin… …e stay grey. A line that was entirely added or deleted stays solid. This no longer follows git's word diff. Add-only and delete-only hunks use the full width in side-by-side. The scroll wheel moves the window and leaves the selected line in place. Shift+wheel, or a sideways trackpad scroll, pans the hunk under the pointer. Approving a hunk still hides it when git joins that hunk to staged lines around it. Loading untracked files and approving a hunk are faster. `rv --version` prints `2.3`. Tags from this release on are `v<major>.<minor>`. Building from source needs Zig 0.17.
Changed lines follow git's word diff. Unchanged words on a changed li… …ne stay dim grey. Changed bytes are green or red. A line that is entirely changed is solid green or red. A side with no changed bytes is grey. A tab is drawn as a dim arrow, then spaces to the next 4-column stop.
rv 2.0.0 `rv install-skill` and `rv install-skill --uninstall` are removed. Install the agent skill with `npx skills add Zooce/rv -g`. `r` re-reads `.rv/reviews/current.json`. Gutter markers follow that file. If the file cannot be read, the comments already on screen stay.