これまでhelmとシェルの補完機能で生きてきたけど、ファイル数が100を超えるようなプロジェクトだとそれではしんどくなってくる。もう少し規模の大きいコードベース向けの既存の解決策をいくつか紹介する。 git grep (またはgit ls-files) + pecoで絞り込む Goソースをgrep → pecoで選択 → vimで該当行番号にジャンプした状態で開くワンライナー - Qiitaが参考になる。ファイルパスを**/*.goから**/*.pmなどに変えればPerlソースにも使えるし、後述するようにawkの部分を変えるとEmacsでも使える。使ってる様子。 git find foobarのように使えるシェルスクリプト版もあります。 git findコマンドを作った - あんパン 仕組み git grep: Gitで管理しているファイルからgrepする。 検索対象はカレントディレクトリ