From ee6433029462bb46b2071c74affdc5a2112dca69 Mon Sep 17 00:00:00 2001 From: Huck Boles Date: Thu, 29 Jun 2023 19:59:13 -0500 Subject: [PATCH] edited: plugin cleanup --- lua/plugins.lua | 38 -------------------------------------- lua/plugins/telescope.lua | 5 +++-- lua/plugins/tpope.lua | 17 +++++++++++++++++ 3 files changed, 20 insertions(+), 40 deletions(-) create mode 100644 lua/plugins/tpope.lua diff --git a/lua/plugins.lua b/lua/plugins.lua index bfe9f06..0a914de 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -1,31 +1,7 @@ return { - - { - 'mbbill/undotree', - keys = { { 'u', 'UndotreeToggle' } } - }, - { 'christoomey/vim-tmux-navigator', lazy = false }, - - { 'tpope/vim-obsession', lazy = false }, - { 'tpope/vim-repeat', event = "VeryLazy" }, - { 'tpope/vim-surround', event = "VeryLazy" }, - { 'tpope/vim-endwise', event = "VeryLazy" }, - { 'tpope/vim-commentary', event = "VeryLazy" }, { 'lukas-reineke/indent-blankline.nvim', event = 'VeryLazy' }, - { - 'tpope/vim-fugitive', - keys = { - { 'gg', 'Git' }, - { 'gc', 'Git commit' }, - { 'ga', 'Git add %' }, - { 'gd', 'Gdiffsplit' }, - { 'gb', 'Git blame' }, - { 'gp', 'Git push' }, - }, - }, - { 'akinsho/toggleterm.nvim', keys = { { [[\]], 'ToggleTerm' } }, @@ -34,18 +10,4 @@ return { size = 10 } }, - - { - 'folke/trouble.nvim', - keys = { - { 'l', 'TroubleToggle document_diagnostics' }, - { 'L', 'TroubleToggle workspace_diagnostics' }, - { 'R', 'TroubleToggle lsp_references' }, - }, - opts = { - icons = false, - use_diagnostic_signs = true - } - } - } diff --git a/lua/plugins/telescope.lua b/lua/plugins/telescope.lua index b3a8649..855fa5c 100644 --- a/lua/plugins/telescope.lua +++ b/lua/plugins/telescope.lua @@ -22,13 +22,14 @@ return { { 'tr', 'Telescope registers' }, { 'tk', 'Telescope keymaps' }, { 'tb', 'Telescope current_buffer_fuzzy_find' }, + { 'to', 'Telescope vim_options' }, { 'tgc', 'Telescope git_commits' }, { 'tgd', 'Telescope git_bcommits' }, { 'tgb', 'Telescope git_branches' }, { 'tgs', 'Telescope git_status' }, { 'tft', 'Telescope filetypes' }, - { 'tll', 'Telescope diagnostics' }, - { 'tlr', 'Telescope lsp_references' }, + { 'l', 'Telescope diagnostics' }, + { 'R', 'Telescope lsp_references' }, { 'tld', 'Telescope lsp_type_definitions' }, { 'tlt', 'Telescope lsp_definitions' }, { 'tli', 'Telescope lsp_implementations' }, diff --git a/lua/plugins/tpope.lua b/lua/plugins/tpope.lua new file mode 100644 index 0000000..63ccb8a --- /dev/null +++ b/lua/plugins/tpope.lua @@ -0,0 +1,17 @@ +return { + { 'tpope/vim-repeat', event = "VeryLazy" }, + { 'tpope/vim-surround', event = "VeryLazy" }, + { 'tpope/vim-endwise', event = "VeryLazy" }, + { 'tpope/vim-commentary', event = "VeryLazy" }, + { + 'tpope/vim-fugitive', + keys = { + { 'gg', 'Git' }, + { 'gc', 'Git commit' }, + { 'ga', 'Git add %' }, + { 'gd', 'Gdiffsplit' }, + { 'gb', 'Git blame' }, + { 'gp', 'Git push' }, + }, + }, +} -- 2.45.2