私信  •  关注

ivanxuu

ivanxuu 最近创建的主题
ivanxuu 最近回复了
9 年前
回复了 ivanxuu 创建的主题 » git grep和vim中的技术

我找到了一个 gist 开放的结果来自 git grep 在QuickFix窗口中跳跃:

<C-x><C-x> runs grep for the word under the cursor
:G <word> runs grep 
:Gi <word> runs grep as case-insensitive

只需将要点的内容添加到 ~/.vimrc 文件