From 23a62d70129db30027ba620fc798a666c198ba35 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Fri, 16 Aug 2024 12:30:33 +0200 Subject: update --- nvim/lua/after/plugin/telescope.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 nvim/lua/after/plugin/telescope.lua (limited to 'nvim/lua/after/plugin/telescope.lua') diff --git a/nvim/lua/after/plugin/telescope.lua b/nvim/lua/after/plugin/telescope.lua new file mode 100644 index 0000000..73a160e --- /dev/null +++ b/nvim/lua/after/plugin/telescope.lua @@ -0,0 +1,11 @@ +local builtin = require('telescope.builtin') +vim.keymap.set('n', 'f', builtin.find_files, {}) +vim.keymap.set('n', 's', builtin.live_grep, {}) +vim.keymap.set('n', 'b', builtin.buffers, {}) +--vim.keymap.set('n', 'fh', builtin.help_tags, {}) + +--[[ +vim.keymap.set('n', 'fs', function() + builtin.grep_string({ search = vim.fn.input("Grep > ") }); +end) +--]] -- cgit v1.2.3