From 869785d1c58ac98e4823895d30aa0ee322367ac3 Mon Sep 17 00:00:00 2001 From: autumn-the-kitty-cat Date: Sun, 8 Mar 2026 18:19:10 -0400 Subject: [PATCH] feat: include telescope.nvim --- home/pc/common/programs/nvim/config.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/home/pc/common/programs/nvim/config.lua b/home/pc/common/programs/nvim/config.lua index 4ca58b5..efae604 100644 --- a/home/pc/common/programs/nvim/config.lua +++ b/home/pc/common/programs/nvim/config.lua @@ -32,9 +32,21 @@ vim.pack.add({ "https://github.com/windwp/nvim-autopairs", "https://github.com/lukas-reineke/lsp-format.nvim", "https://github.com/nvimtools/none-ls.nvim", - "https://github.com/nvim-lua/plenary.nvim" + "https://github.com/nvim-lua/plenary.nvim", + "https://github.com/nvim-telescope/telescope.nvim", }) +local telescope = require("telescope.builtin") + +vim.keymap.set("n", "b", telescope.buffers, {}) +vim.keymap.set("n", "f", telescope.find_files, {}) +vim.keymap.set("n", "t", telescope.live_grep, {}) +vim.keymap.set("n", "m", function() + telescope.man_pages({ + sections = {"2", "3", "4", "5"}, + }) +end, {}) + require("nvim-autopairs").setup({}) require("null-ls").setup({ on_attach = require("lsp-format").on_attach }) require("lsp-format").setup({})