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

15 lines
541 B
Lua
Raw Permalink Normal View History

-- See: https://github.com/nvim-telescope/telescope.nvim
local telescope = require("telescope")
2022-11-19 00:56:53 +03:00
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)