From 13fbd5bc4ecf15e8d9b9578e03f83669f218ee32 Mon Sep 17 00:00:00 2001 From: awy Date: Sun, 24 Nov 2024 21:59:54 +0300 Subject: neovim cfg --- .config/nvim/lua/plugins/telescope.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 .config/nvim/lua/plugins/telescope.lua (limited to '.config/nvim/lua/plugins/telescope.lua') diff --git a/.config/nvim/lua/plugins/telescope.lua b/.config/nvim/lua/plugins/telescope.lua new file mode 100644 index 0000000..c646155 --- /dev/null +++ b/.config/nvim/lua/plugins/telescope.lua @@ -0,0 +1,9 @@ +return { + 'nvim-telescope/telescope.nvim', tag = '0.1.8', + dependencies = { 'nvim-lua/plenary.nvim' }, + config = function() + local builtin = require("telescope.builtin") + vim.keymap.set('n', '', builtin.find_files, {}) + vim.keymap.set('n', 'fg', builtin.live_grep, {}) + end +} -- cgit v1.2.3