From 2f483e68303c33d6aa3723d887b09998c3f20ee4 Mon Sep 17 00:00:00 2001 From: nil Date: Tue, 14 Jan 2025 20:14:37 +0100 Subject: init --- lua/after/plugin/telescope.lua | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100755 lua/after/plugin/telescope.lua (limited to 'lua/after/plugin/telescope.lua') diff --git a/lua/after/plugin/telescope.lua b/lua/after/plugin/telescope.lua new file mode 100755 index 0000000..99dcd11 --- /dev/null +++ b/lua/after/plugin/telescope.lua @@ -0,0 +1,18 @@ +require('telescope').setup{ + defaults = { + file_ignore_patterns = { + } + } +} + +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