fix: correct gitsigns mapping for <leader>tD

The previous mapping <leader>tD was described as "[T]oggle git show [D]eleted"
but was mapped to preview_hunk_inline, which didn't match the description.
This commit updates the mapping to toggle_deleted, which fits the description.
This commit is contained in:
Sangho Lee 2025-04-27 20:07:59 +09:00
parent d350db2449
commit 8fb5068d69
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ return {
end, { desc = 'git [D]iff against last commit' }) end, { desc = 'git [D]iff against last commit' })
-- Toggles -- Toggles
map('n', '<leader>tb', gitsigns.toggle_current_line_blame, { desc = '[T]oggle git show [b]lame line' }) map('n', '<leader>tb', gitsigns.toggle_current_line_blame, { desc = '[T]oggle git show [b]lame line' })
map('n', '<leader>tD', gitsigns.preview_hunk_inline, { desc = '[T]oggle git show [D]eleted' }) map('n', '<leader>td', gitsigns.toggle_deleted, { desc = '[T]oggle git show [d]eleted' })
end, end,
}, },
}, },