This repository has been archived on 2024-05-17. You can view files and clone it, but cannot push or open issues or pull requests.
neovim/plugins/explorer/telescope-nvim.lua

14 lines
541 B
Lua

-- See: https://github.com/nvim-telescope/telescope.nvim
local telescope = require("telescope")
telescope.setup(@telescopeSettings@)
telescope.load_extension("live_grep_args")
vim.keymap.set("n", "<leader>ff", "<Cmd>Telescope find_files hidden=true<CR>")
vim.keymap.set("n", "<leader>fb", "<Cmd>Telescope buffers<CR>")
vim.keymap.set("n", "<leader>fh", "<Cmd>Telescope help_tags<CR>")
-- required telescope-live-grep-args-nvim plugin
vim.keymap.set("n", "<leader>fg", function()
telescope.extensions.live_grep_args.live_grep_args()
end)