From 8fb5068d6942bd0bc6f0e1fd56dc09d04056324a Mon Sep 17 00:00:00 2001 From: Sangho Lee Date: Sun, 27 Apr 2025 20:07:59 +0900 Subject: [PATCH] fix: correct gitsigns mapping for tD The previous mapping 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. --- lua/kickstart/plugins/gitsigns.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/gitsigns.lua b/lua/kickstart/plugins/gitsigns.lua index cbbd22d2..1dbab8c2 100644 --- a/lua/kickstart/plugins/gitsigns.lua +++ b/lua/kickstart/plugins/gitsigns.lua @@ -54,7 +54,7 @@ return { end, { desc = 'git [D]iff against last commit' }) -- Toggles map('n', 'tb', gitsigns.toggle_current_line_blame, { desc = '[T]oggle git show [b]lame line' }) - map('n', 'tD', gitsigns.preview_hunk_inline, { desc = '[T]oggle git show [D]eleted' }) + map('n', 'td', gitsigns.toggle_deleted, { desc = '[T]oggle git show [d]eleted' }) end, }, },