Skip to content

NeoVim: git grep -n? #104

@varlogtim

Description

@varlogtim

So, the UI for find references looks pretty good. I should figure out if there is a way to git grep...

vim.keymap.set('n', '<leader>gg', function()
  require('fzf-lua').live_grep({ cmd = 'git grep --line-number --column --color=always' })
end, { desc = 'Git Grep Live' })

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions