diff --git a/lua/znvim/plugins/editor.lua b/lua/znvim/plugins/editor.lua index 449eb1a..e834896 100644 --- a/lua/znvim/plugins/editor.lua +++ b/lua/znvim/plugins/editor.lua @@ -62,68 +62,6 @@ return { }, }, }, - { -- telescope - "https://github.com/nvim-telescope/telescope.nvim", - cmd = "Telescope", - dependencies = { - "https://github.com/nvim-lua/plenary.nvim", - "https://github.com/nvim-lua/popup.nvim", - "https://github.com/nvim-telescope/telescope-file-browser.nvim", -- @TODO: j and k to moving in or out of directiry - "https://github.com/nvim-telescope/telescope-bibtex.nvim", - "https://github.com/nvim-telescope/telescope-symbols.nvim", - }, - keys = { - { "tb", "Telescope buffers", desc = "buffers" }, - { "tfb", "Telescope file_browser", desc = "file browser" }, - { "tff", "Telescope find_files", desc = "find file" }, - { "tg", "Telescope live_grep", desc = "grep files" }, - { "th", "Telescope help_tags", desc = "help" }, - { "tk", "Telescope keymaps", desc = "key maps" }, - { "tn", "Telescope notify", desc = "notifications" }, - { "tss", "Telescope symbols", desc = "symbols" }, - { "tse", function () - require(telescope.builtin).symbols{ sources = {"emoji"} } - end, - desc = "emoji" - }, - { "tsm", function () - require(telescope.builtin).symbols{ sources = {"math" } } - end, - desc = "math" - }, - { "tt", "Telescope", desc = "telescope" }, - - -- git - { "gf", "Telescope git_files", desc = "files" }, - { "gc", "Telescope git_commits", desc = "commits" }, - { "gst", "Telescope git_status", desc = "status" }, - -- buffer - { "bf", "Telescope buffers", desc = "find buffer" }, - { "bs", "Telescope current_buffer_fuzzy_find", desc = "fuzzy search" }, - }, - opts = { - defaults = { - initial_mode = "normal", - }, - extensions = { - bibtex = { - depth = 2, - }, - }, - pickers = { - colorscheme = { - enable_preview = true, - }, - }, - }, - config = function(_, opts) - local telescope = require("telescope") - telescope.setup(opts) - telescope.load_extension("file_browser") - telescope.load_extension("bibtex") - telescope.load_extension("notify") - end, - }, { -- a fast motion inside a visible area "https://github.com/ggandor/leap.nvim", event = "BufReadPre", @@ -156,7 +94,6 @@ return { { "gr", group = "reset" }, { "gs", group = "stage" }, { "gt", group = "toggle" }, - { "t", group = "telescope" }, { "u", group = "ui" }, { "x", group = "diagnostics" }, }, @@ -206,7 +143,7 @@ return { dependencies = { "https://github.com/nvim-lua/plenary.nvim", }, - cmd = { "TodoTrouble", "TodoTelescope" }, + cmd = { "TodoTrouble" }, event = "BufReadPost", keys = { { @@ -228,11 +165,6 @@ return { "TodoTrouble", desc = "todo (trouble)" }, - { - "xT", - "TodoTelescope", - desc = "todo (telescope)" - }, }, config = true, }, diff --git a/lua/znvim/plugins/git.lua b/lua/znvim/plugins/git.lua index 86a2995..701861a 100644 --- a/lua/znvim/plugins/git.lua +++ b/lua/znvim/plugins/git.lua @@ -73,7 +73,6 @@ return { dependencies = { "https://github.com/nvim-lua/plenary.nvim", "https://github.com/sindrets/diffview.nvim", - "https://github.com/nvim-telescope/telescope.nvim", }, keys = { { "gn", "Neogit", desc = "Neogit", }, @@ -85,11 +84,8 @@ return { event = "BufReadPre", dependencies = { "https://github.com/nvim-lua/plenary.nvim", - "https://github.com/nvim-telescope/telescope.nvim", }, - config = function () - require("telescope").load_extension("git_worktree") - end + opts = {}, }, { -- gitgraph "https://github.com/isakbm/gitgraph.nvim", diff --git a/lua/znvim/plugins/neorg.lua b/lua/znvim/plugins/neorg.lua index 5986283..710c3d1 100644 --- a/lua/znvim/plugins/neorg.lua +++ b/lua/znvim/plugins/neorg.lua @@ -2,9 +2,6 @@ return { "https://github.com/nvim-neorg/neorg", lazy = false, version = "*", - dependencies = { - "https://github.com/nvim-neorg/neorg-telescope", - }, opts = { load = { ["core.defaults"] = {},