gilvt

The gilvt command line

Every pane has a gilvt command on its PATH; use it to open previews from the command line:

gilvt view src/main.rs:42          # open and jump to line 42
gilvt view --pin README.md         # pin as a preview pane on the right; refreshes on save
git show HEAD:a.rs | gilvt view --as rs -   # preview standard input
gilvt diff                         # preview every file changed against HEAD, one by one (←→ to switch)
gilvt diff main                    # against the main branch

When run in another terminal app, gilvt prints the content directly, with color.