From c72f44f6e7a90136a2a82f088daca8395d786cb2 Mon Sep 17 00:00:00 2001 From: Tristan Russell Date: Wed, 27 Aug 2025 13:08:58 -0400 Subject: [PATCH] fix: Added missing descriptions to key rebinds --- after/plugin/fugitive.lua | 2 +- after/plugin/undotree.lua | 2 +- lua/truss/remap.lua | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/after/plugin/fugitive.lua b/after/plugin/fugitive.lua index 80c9070..2d8fe08 100644 --- a/after/plugin/fugitive.lua +++ b/after/plugin/fugitive.lua @@ -1 +1 @@ -vim.keymap.set("n", "gs", vim.cmd.Git) +vim.keymap.set("n", "gs", vim.cmd.Git, { desc = "Show git summary" } ) diff --git a/after/plugin/undotree.lua b/after/plugin/undotree.lua index b6b9276..c85077e 100644 --- a/after/plugin/undotree.lua +++ b/after/plugin/undotree.lua @@ -1 +1 @@ -vim.keymap.set("n", "u", vim.cmd.UndotreeToggle) +vim.keymap.set("n", "u", vim.cmd.UndotreeToggle, { desc = "Toggle undo tree" }) diff --git a/lua/truss/remap.lua b/lua/truss/remap.lua index 4d0dc19..5ee161f 100644 --- a/lua/truss/remap.lua +++ b/lua/truss/remap.lua @@ -1,2 +1,2 @@ vim.g.mapleader = " " -- Set leader key to space -vim.keymap.set("n", "pv", vim.cmd.Ex) -- Somehow rebinds to open netrw +vim.keymap.set("n", "pv", vim.cmd.Ex, { desc = "Show netrw" }) -- Somehow rebinds to open netrw