This page temporarily redirects to gemini://si3t.ch/code/g/.

g: open file at matching line

A tiny but incredibly useful script.

Run ''g '', select the file with pick (or fzy, choice, fzf...) : it is opened in vi editor at the searched line.

=> https://github.com/mptre/pick

#!/bin/sh

test -n "$*" && eval "$(grep -nIRs "$*" |\
        pick |\
        awk -F ':' '{ printf("vi +%s %s", $2, $1) } ')"


=> /

Proxy Information
Original URL
gemini://si3t.ch/code/g
Status Code
Success (20)
Meta
text/gemini;lang=fr
Capsule Response Time
976.903397 milliseconds
Gemini-to-HTML Time
0.216427 milliseconds

This content has been proxied by September (3851b).