From 24fc98bfaca3f07c90ff33a3bfeb738fd84ff79a Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Tue, 12 Sep 2023 12:16:31 +0200 Subject: nvim: Add extensive Neovim configuration --- .config/nvim/after/plugin/telescope.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .config/nvim/after/plugin/telescope.lua (limited to '.config/nvim/after/plugin/telescope.lua') diff --git a/.config/nvim/after/plugin/telescope.lua b/.config/nvim/after/plugin/telescope.lua new file mode 100644 index 0000000..a9d9225 --- /dev/null +++ b/.config/nvim/after/plugin/telescope.lua @@ -0,0 +1,8 @@ +local builtin = require('telescope.builtin') + +--vim.keymap.set('n', 'pf', builtin.git_files, {}) + +vim.keymap.set('n', 'pf', builtin.find_files, {}) +vim.keymap.set('n', 'ps', function() + builtin.grep_string({ search = vim.fn.input('Grep > ') }) +end) -- cgit v1.2.3