From d3fb8c3c0fd0d60a05580facfd4c4040d59ae037 Mon Sep 17 00:00:00 2001 From: Ariel D'Alessandro Date: Wed, 19 Apr 2023 20:48:29 +0200 Subject: feat(commands): add description to command --- lua/alpha/telescope/mappings.lua | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/alpha/telescope/mappings.lua b/lua/alpha/telescope/mappings.lua index 4843731..89472bc 100644 --- a/lua/alpha/telescope/mappings.lua +++ b/lua/alpha/telescope/mappings.lua @@ -27,7 +27,12 @@ local map_tele = function(key, f, opts) end -- not shure what this line does -vim.api.nvim_set_keymap("c", "", "(TelescopeFuzzyCommandSearch)", { noremap = false, nowait = true }) +vim.api.nvim_set_keymap( + "c", + "", + "(TelescopeFuzzyCommandSearch)", + { noremap = false, nowait = true, desc = "In comand look for previous commands" } +) map_tele("pp", "project_files", { desc = "Open Project files" }) map_tele("gc", "branches", { desc = "Git Branches selector" }) -- cgit v1.2.3