From 18c0feac2b1da3e843eee6d2d678f3505fa57b49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20La=C3=ADn?= Date: Mon, 18 Mar 2024 00:14:19 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20feat(nvim):=20add=20some=20telescop?= =?UTF-8?q?e=20git=20pickers=20and=20an=20spelling=20picker=20as=20well?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/nvim/lua/plugins/extras/editor/outline-extended.lua | 4 ++++ .config/nvim/lua/plugins/extras/lazyvim/telescope.lua | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/.config/nvim/lua/plugins/extras/editor/outline-extended.lua b/.config/nvim/lua/plugins/extras/editor/outline-extended.lua index 9d55ac1a..d73c5e81 100644 --- a/.config/nvim/lua/plugins/extras/editor/outline-extended.lua +++ b/.config/nvim/lua/plugins/extras/editor/outline-extended.lua @@ -12,5 +12,9 @@ return { autofold_depth = 1, }, }, + keys = { + { "co", "Outline", desc = "Toggle Outline" }, + { "cs", false }, + }, }, } 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 = {