From d7ed9d2c4b0e939032581690315fab5b5168e89d Mon Sep 17 00:00:00 2001 From: S4NKALP Date: Mon, 18 Mar 2024 14:49:36 +0545 Subject: [PATCH] feat(nvim): add some telescope git pickers and an spelling picker as well --- config/nvim/lua/plugins/extras/lazyvim/telescope.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/nvim/lua/plugins/extras/lazyvim/telescope.lua b/config/nvim/lua/plugins/extras/lazyvim/telescope.lua index f8c9e2a2..db436dbb 100644 --- a/config/nvim/lua/plugins/extras/lazyvim/telescope.lua +++ b/config/nvim/lua/plugins/extras/lazyvim/telescope.lua @@ -41,6 +41,12 @@ return { { "sSp", Util.telescope("lsp_dynamic_workspace_symbols", { symbols = { "Property" } }), desc = "Property" }, { "sSv", Util.telescope("lsp_dynamic_workspace_symbols", { symbols = { "Variable", "Parameter" } }), desc = "Variable" }, { "sA", Util.telescope("treesitter"), desc = "Treesitter Symbols" }, + { "gf", "Telescope git_bcommits", desc = "File History" }, + { "gS", "Telescope git_stash", desc = "stash" }, + { "gb", "Telescope git_branches", desc = "branches" }, + { "cs", function() + require('telescope.builtin').spell_suggest(require('telescope.themes').get_dropdown({}), { layout_config = { width=0.25, height=0.3 } }) + end, desc = "Spelling" }, }, opts = { defaults = {