-- local actions = require("telescope.actions") -- return { -- "nvim-telescope/telescope.nvim", -- tag = "0.1.8", -- dependencies = { -- "nvim-lua/plenary.nvim", -- "nvim-telescope/telescope-fzf-native.nvim", -- "nvim-telescope/telescope-file-browser.nvim", -- }, -- opts = { -- defaults = { -- mappings = { -- i = { -- [""] = actions.move_selection_previous, -- move to prev result -- [""] = actions.move_selection_next, -- move to next result -- }, -- }, -- file_ignore_patterns = { -- "build/", -- "neuron/", -- "img", -- ".cache/", -- "node_modules", -- ".git", -- }, -- }, -- }, -- keys = { -- { "ff", "Telescope find_files hidden=true" }, -- { "bb", "Telescope buffers" }, -- { "tt", "Telescope file_browser hidden=true" }, -- { "gg", "Telescope live_grep hidden=true" }, -- }, -- } -- return { "nvim-telescope/telescope.nvim", tag = "v0.2.1", dependencies = { "nvim-lua/plenary.nvim", "nvim-telescope/telescope-fzf-native.nvim", "nvim-telescope/telescope-file-browser.nvim", }, config = function() local actions = require("telescope.actions") require("telescope").setup({ defaults = { mappings = { i = { [""] = actions.move_selection_previous, [""] = actions.move_selection_next, }, }, file_ignore_patterns = { "build/", "neuron/", "img", ".cache/", "node_modules", ".git", }, }, }) end, keys = { { "ff", "Telescope find_files hidden=true" }, { "bb", "Telescope buffers" }, { "tt", "Telescope file_browser hidden=true" }, { "gg", "Telescope live_grep hidden=true" }, }, }