Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

20 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🌳 LazyTree

A Neovim plugin that gives you a tree-view map of all your lazy.nvim plugin specs.

As your Neovim config grows, you can easily lose sight of the import order of plugins, or it becomes hard to see which file imports which plugins. LazyTree makes it easy to navigate your plugin configuration and helps you debug your config.

LazyTree screenshot

✨ Features

  • πŸ” Scans your init.lua and all lazy.nvim spec directories
  • 🌲 Shows plugins grouped by file in an interactive tree view
  • πŸ“¦ Detects all lazy.nvim source formats: "owner/repo", dir = "...", url = "..."
  • πŸ”— Distinguishes plugins from their dependencies
  • 🟒 Shows load status (loaded/not loaded) from lazy.nvim
  • πŸ”„ Shows reverse dependencies (which plugins share a dependency)
  • πŸ“‚ Fold/unfold file sections
  • πŸ”Ž Filter plugins by name
  • ✏️ Open plugin spec files for editing (with q to return to the tree)
  • πŸ‘€ Preview spec blocks with K
  • 🌐 Open plugin homepages on GitHub with gx
  • 🎨 All highlight groups are customizable

πŸ“₯ Installation

With lazy.nvim:

{
    "TomDeneire/lazytree",
    cmd = "LazyTree",
    opts = {},
}

πŸš€ Usage

:LazyTree

⌨️ Keybindings

Key Action
e ✏️ Open the spec file at the plugin's line (editable, q returns to tree)
q / <Esc> πŸšͺ Close the current window
za πŸ”€ Toggle fold on file section
zo / zc πŸ“‚ / πŸ“ Open / close fold
/ πŸ”Ž Filter plugins by name
gx 🌐 Open plugin homepage on GitHub
K πŸ‘€ Preview the plugin's spec block

🎨 Highlight Groups

All highlights link to standard groups by default and can be overridden:

Group Default Used for
LazyTreeHeader Title ASCII art header
LazyTreeFile Directory File headings
LazyTreeGlyph NonText Tree-drawing characters
LazyTreeLineNr LineNr Line number suffixes
LazyTreeFooter Comment Keybindings bar
LazyTreeLoaded DiagnosticOk Loaded status indicator
LazyTreeNotLoaded Comment Not-loaded status indicator
LazyTreeUsedBy Special Reverse dependency annotations
LazyTreeCursorGroup CursorLine Cursor group highlight

πŸ€– About

This plugin was entirely coded by Claude (Anthropic's AI assistant), with direction and testing by @TomDeneire.

About

Neovim plugin to navigate and edit your lazy.nvim plugin specs

Topics

Resources

Stars

7 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages