X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/556b2a0f56ba885fc466f33329647fcbb46d2920..aeb0fcc4836a91549f1dc7a343181abe2ca861b0:/nvim/lua/plugins/editor.lua diff --git a/nvim/lua/plugins/editor.lua b/nvim/lua/plugins/editor.lua index 6aa3858..d1871fc 100644 --- a/nvim/lua/plugins/editor.lua +++ b/nvim/lua/plugins/editor.lua @@ -1,3 +1,4 @@ +---@type LazyPluginSpec return { { "nvim-telescope/telescope.nvim", @@ -5,6 +6,30 @@ return { { "", false }, { "gc", false }, { "gs", false }, + { "ff", false }, -- fswitch }, }, + { + "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, + }, }