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:
parent
82fc5b1953
commit
1e91693cf5
4 changed files with 53 additions and 1 deletions
|
|
@ -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' })
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue