From 75623ee78514879718ace05576b2a0f17e8044e7 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 27 Jan 2025 10:42:36 +0100 Subject: nvim: telescope function outline resurrecting vista.vim --- .config/nvim/lua/plugins/telescope.lua | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.config') diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua index 40c99a4..bfda4aa 100644 --- a/.config/nvim/lua/plugins/telescope.lua +++ b/.config/nvim/lua/plugins/telescope.lua @@ -46,6 +46,10 @@ return { map("n", "sw", require("telescope.builtin").grep_string, "🔭: current word") map("n", "sg", require("telescope.builtin").live_grep, "🔭: live grep") map("n", "sd", require("telescope.builtin").diagnostics, "🔭: diagnostics") + map("n", "sc", function() + require("telescope.builtin").lsp_document_symbols({ symbols = 'function' }) + end, "🔭: lsp symbols (functions)") + map("n", "st", function() require("telescope.builtin").spell_suggest(require("telescope.themes").get_cursor({ prompt_title = "", -- cgit v1.2.3-70-g09d2