File Manager, Workspaces and some keybindings
- new plugins: . neo-tree - file manager . workspaces - workspace management (light projects) - keybindings . <leader>g for Neogit . <leader>t for Neotree . <leader>w for WorkspacesOpen . <space>D for fzf.diagnostics_workspace - options . truncate long lines in view (set nowrap)
This commit is contained in:
@@ -181,4 +181,34 @@ require("lazy").setup({
|
||||
|
||||
},
|
||||
|
||||
-- neo-tree file management
|
||||
{
|
||||
"nvim-neo-tree/neo-tree.nvim",
|
||||
branch = "v3.x",
|
||||
dependencies = {
|
||||
"nvim-lua/plenary.nvim",
|
||||
"nvim-tree/nvim-web-devicons", -- not strictly required, but recommended
|
||||
"MunifTanjim/nui.nvim",
|
||||
-- "3rd/image.nvim", -- Optional image support in preview window: See `# Preview Mode` for more information
|
||||
}
|
||||
},
|
||||
|
||||
-- workspaces, lightweight "projects"
|
||||
{
|
||||
"natecraddock/workspaces.nvim",
|
||||
config = function()
|
||||
require("workspaces").setup {
|
||||
-- option to automatically activate workspace when opening neovim in a workspace directory
|
||||
auto_open = true,
|
||||
|
||||
-- option to automatically activate workspace when changing directory not via this plugin
|
||||
auto_dir = true,
|
||||
|
||||
hooks = {
|
||||
open = "FzfLua files"
|
||||
}
|
||||
}
|
||||
end
|
||||
},
|
||||
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user