X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/556b2a0f56ba885fc466f33329647fcbb46d2920..7eb1ded05d647500b1488d025dbb65d71411c27e:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 6aa3858..8b26d41 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -1,3 +1,4 @@ +---@type LazyPluginSpec return { { "nvim-telescope/telescope.nvim", @@ -7,4 +8,26 @@ return { { "gs", false }, }, }, + { + "neo-tree.nvim", + 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 { + { "fe", NeoTree({ toggle = true, dir = vim.loop.cwd() }) }, + } + end, + }, }