diff --git a/.github/README.md b/.github/README.md index 1a6ab9a..23b3c94 100644 --- a/.github/README.md +++ b/.github/README.md @@ -72,7 +72,6 @@ Fast file tree: A fuzzy file finder, picker, sorter, previewer and much more: -

Indent-blankline.nvim

diff --git a/lua/core/default_config.lua b/lua/core/default_config.lua index 34f19af..06692b0 100644 --- a/lua/core/default_config.lua +++ b/lua/core/default_config.lua @@ -66,7 +66,6 @@ M.plugins = { feline = true, -- statusline gitsigns = true, lspsignature = true, -- lsp enhancements - telescope_media = false, vim_matchup = true, -- improved matchit cmp = true, nvimtree = true, @@ -227,10 +226,6 @@ M.mappings.plugins = { live_grep = "fw", oldfiles = "fo", themes = "th", -- NvChad theme picker - - telescope_media = { - media_files = "fp", - }, }, } diff --git a/lua/core/mappings.lua b/lua/core/mappings.lua index a2d47b8..93f74e1 100644 --- a/lua/core/mappings.lua +++ b/lua/core/mappings.lua @@ -180,10 +180,4 @@ M.telescope = function() map("n", m.themes, ":Telescope themes ") end -M.telescope_media = function() - local m = plugin_maps.telescope.telescope_media - - map("n", m.media_files, ":Telescope media_files ") -end - return M diff --git a/lua/plugins/configs/telescope.lua b/lua/plugins/configs/telescope.lua index acbde8a..35ee0c9 100644 --- a/lua/plugins/configs/telescope.lua +++ b/lua/plugins/configs/telescope.lua @@ -51,21 +51,9 @@ telescope.setup { -- Developer configurations: Not meant for general override buffer_previewer_maker = require("telescope.previewers").buffer_previewer_maker, }, - extensions = { - media_files = { - filetypes = { "png", "webp", "jpg", "jpeg" }, - find_cmd = "rg", -- find command (defaults to `fd`) - }, - }, } local extensions = { "themes", "terms" } -local packer_repos = [["extensions"]] - -if vim.fn.executable "ueberzug" == 1 then - table.insert(extensions, "media_files") - packer_repos = packer_repos .. ', "telescope-media-files.nvim"' -end pcall(function() for _, ext in ipairs(extensions) do diff --git a/lua/plugins/init.lua b/lua/plugins/init.lua index bfd30fc..6709c2b 100644 --- a/lua/plugins/init.lua +++ b/lua/plugins/init.lua @@ -217,13 +217,6 @@ return packer.startup(function() use { "nvim-telescope/telescope.nvim", cmd = "Telescope", - requires = { - "nvim-telescope/telescope-media-files.nvim", - disable = not plugin_settings.status.telescope_media, - setup = function() - require("core.mappings").telescope_media() - end, - }, config = override_req("telescope", "plugins.configs.telescope"), setup = function() require("core.mappings").telescope()