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:
parent
d350db2449
commit
8fb5068d69
|
@ -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,
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue