]> git.huck.website - nvim.git/commitdiff
edited: plugin cleanup
authorHuck Boles <huck@huck.website>
Fri, 30 Jun 2023 00:59:13 +0000 (19:59 -0500)
committerHuck Boles <huck@huck.website>
Fri, 30 Jun 2023 00:59:13 +0000 (19:59 -0500)
lua/plugins.lua
lua/plugins/telescope.lua
lua/plugins/tpope.lua [new file with mode: 0644]

index bfe9f06b87b219246fd8184d9a04a68048942bb6..0a914de14d67181d4ed623056def3afce3c61eab 100644 (file)
@@ -1,31 +1,7 @@
 return {
-
-    {
-        'mbbill/undotree',
-        keys = { { '<leader>u', '<CMD>UndotreeToggle<CR>' } }
-    },
-
     { '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 = {
-            { '<leader>gg', '<CMD>Git<CR>' },
-            { '<leader>gc', '<CMD>Git commit<CR>' },
-            { '<leader>ga', '<CMD>Git add %<CR>' },
-            { '<leader>gd', '<CMD>Gdiffsplit<CR>' },
-            { '<leader>gb', '<CMD>Git blame<CR>' },
-            { '<leader>gp', '<CMD>Git push<CR>' },
-        },
-    },
-
     {
         'akinsho/toggleterm.nvim',
         keys = { { [[<LEADER>\]], '<CMD>ToggleTerm<CR>' } },
@@ -34,18 +10,4 @@ return {
             size = 10
         }
     },
-
-    {
-        'folke/trouble.nvim',
-        keys = {
-            { '<leader>l', '<CMD>TroubleToggle document_diagnostics<CR>' },
-            { '<leader>L', '<CMD>TroubleToggle workspace_diagnostics<CR>' },
-            { '<leader>R', '<CMD>TroubleToggle lsp_references<CR>' },
-        },
-        opts = {
-            icons = false,
-            use_diagnostic_signs = true
-        }
-    }
-
 }
index b3a8649254aa780a3b24bc2981575a6e92fc5f2d..855fa5cd0f8d77962bcd43c966270348783c6d49 100644 (file)
@@ -22,13 +22,14 @@ return {
             { '<leader>tr',  '<CMD>Telescope registers<CR>' },
             { '<leader>tk',  '<CMD>Telescope keymaps<CR>' },
             { '<leader>tb',  '<CMD>Telescope current_buffer_fuzzy_find<CR>' },
+            { '<leader>to',  '<CMD>Telescope vim_options<CR>' },
             { '<leader>tgc', '<CMD>Telescope git_commits<CR>' },
             { '<leader>tgd', '<CMD>Telescope git_bcommits<CR>' },
             { '<leader>tgb', '<CMD>Telescope git_branches<CR>' },
             { '<leader>tgs', '<CMD>Telescope git_status<CR>' },
             { '<leader>tft', '<CMD>Telescope filetypes<CR>' },
-            { '<leader>tll', '<CMD>Telescope diagnostics<CR>' },
-            { '<leader>tlr', '<CMD>Telescope lsp_references<CR>' },
+            { '<leader>l',   '<CMD>Telescope diagnostics<CR>' },
+            { '<leader>R',   '<CMD>Telescope lsp_references<CR>' },
             { '<leader>tld', '<CMD>Telescope lsp_type_definitions<CR>' },
             { '<leader>tlt', '<CMD>Telescope lsp_definitions<CR>' },
             { '<leader>tli', '<CMD>Telescope lsp_implementations<CR>' },
diff --git a/lua/plugins/tpope.lua b/lua/plugins/tpope.lua
new file mode 100644 (file)
index 0000000..63ccb8a
--- /dev/null
@@ -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 = {
+            { '<leader>gg', '<CMD>Git<CR>' },
+            { '<leader>gc', '<CMD>Git commit<CR>' },
+            { '<leader>ga', '<CMD>Git add %<CR>' },
+            { '<leader>gd', '<CMD>Gdiffsplit<CR>' },
+            { '<leader>gb', '<CMD>Git blame<CR>' },
+            { '<leader>gp', '<CMD>Git push<CR>' },
+        },
+    },
+}