]> git.rmz.io Git - dotfiles.git/blobdiff - nvim/lua/plugins/editor.lua
nvim: remove neo-tree
[dotfiles.git] / nvim / lua / plugins / editor.lua
index b4816a0c0f0a206189f4874b85f690f1c4aa68da..c3281fe04b8b6429c6dce9d0398c7577ca6bcfaa 100644 (file)
@@ -117,6 +117,9 @@ return {
   { "folke/trouble.nvim",
     cmd = { "Trouble" },
     opts = {
+      keys = {
+        ["<space><space>"] = "fold_toggle",
+      },
       modes = {
         lsp = {
           win = { position = "right" },
@@ -173,28 +176,4 @@ return {
       { "<leader>sT", "<cmd>TodoTelescope keywords=TODO,FIX,FIXME<cr>", desc = "Todo/Fix/Fixme" },
     },
   },
-  {
-    "neo-tree.nvim",
-    enabled = false,
-    lazy = false,
-    opts = {
-      filesystem = {
-        -- TODO: review these
-        bind_to_cwd = false,
-        follow_current_file = {
-          enabled = false,
-        },
-      },
-    },
-    keys = function()
-      local NeoTree = function(args)
-        return function()
-          require("neo-tree.command").execute(args)
-        end
-      end
-      return {
-        { "<leader>fe", NeoTree({ toggle = true, dir = vim.loop.cwd() }) },
-      }
-    end,
-  },
 }