diff --git a/.config/nvim/lua/config/keymaps.lua b/.config/nvim/lua/config/keymaps.lua index e2683d62..1fe7c3d8 100644 --- a/.config/nvim/lua/config/keymaps.lua +++ b/.config/nvim/lua/config/keymaps.lua @@ -57,10 +57,10 @@ map("n", "", "_", { desc = "First character of Line" }) map("n", "", "$", { desc = "Last character of Line" }) -- Copy whole text to clipboard -map("n", "", ":%y+") +map("n", "", ":%y+", { desc = "Copy whole text to clipboard", silent = true }) -- Select all text -map("n", "", "ggG") +map("n", "", "ggG", { desc = "Select all text", silent = true }) -- Better paste -- remap "p" in visual mode to delete the highlighted text without overwriting your yanked/copied text, and then paste the content from the unnamed register.