Add keymap for Git files to quickfix list

Introduced a new keymap `<leader>gf` to send modified, deleted, and
untracked Git files to the quickfix list with their status indicators.
This enhances the Git workflow by complementing existing mappings.
This commit is contained in:
Ray Elliott 2026-01-13 15:30:40 +00:00
commit 1e91693cf5
4 changed files with 53 additions and 1 deletions

View file

@ -52,7 +52,6 @@ return {
-- Quickfix/Location list
map('n', '<leader>hq', function() gs.setqflist('all') end, { desc = 'Gitsigns: All hunks to quickfix' })
map('n', '<leader>hl', function() gs.setloclist(0) end, { desc = 'Gitsigns: Buffer hunks to loclist' })
-- Text object
map({ 'o', 'x' }, 'ih', ':<C-U>Gitsigns select_hunk<CR>', { desc = 'Gitsigns: Select hunk' })