X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/556b2a0f56ba885fc466f33329647fcbb46d2920..b0951dca9a0e61cb14f0b80adfcf6c16f6e7fc82:/nvim/lua/plugins/editor.lua?ds=sidebyside diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 6aa3858..7f30842 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,27 @@ return { { "gs", false }, }, }, + { + "neo-tree.nvim", + 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 { + { "fe", NeoTree({ toggle = true, dir = vim.loop.cwd() }) }, + } + end, + }, }