Owen-Dechow /videre.nvim

JSON/YAML/TOML explorer using Neovim's terminal interface.

★ 300⑂ 7👁 2⑃ 16● 26▤ 0
LuaMITCreated 2025-07-08
+0
日增长
300
stars
7
forks
2
watchers
16
prs
26
issues
0
releases

README

📊 videre.nvim

Many editors have the option to view JSON, TOML, & YAML files as a graph. Neovim, with a
terminal interface, does not have this luxury. While one can't create an
interface like JSON Crack, it is possible to build a similar JSON explorer
using Neovim's terminal interface.


╭──────────────────┬──╮ ╭──┬──┬──────────────────────────────────╮ ╭──┬──────┬───────────╮
│            Videre│[]├─╯  │ 1│··········"This is a great plugin"│ │  │  user│·"will try"│
│           Example│{}├─╮  │ 2│·············"Look at this number"│ │  │isTrue│"100% True"│
╰──────────────────┴──╯ │  │ 3│······························3467│ │  ╰──────┴───────────╯
                        │  │ 4│······························null│ │
                        │  │ 5│···"The Next lines will be hidden"│ │
                        │  ╪.....................................│ │
                        │  ╰──┴──────────────────────────────────╯ │
                        │                                          │
                        ╰──┬────────────┬────────────────────────╮ │
                           │ empty_array│······················[]│ │
                           │ empty_table│······················{}│ │
                           │        test│"This is some test data"├─╯
                           ╰────────────┴────────────────────────╯


https://github.com/user-attachments/assets/24502708-6735-4b64-9854-c228886c10c3

 🛠️ Features

 Algorithmic Graph Rendering
 Collapsible Units
 Jumping Between Linked Units
 Set Any Unit as Root
 Customizable Styles
 Support for Different Filetypes

 ⚙️ Setup


  lazy.nvim (Suggested Setup): https://github.com/folke/lazy.nvim
  
  lua
  return {
      "Owen-Dechow/videre.nvim",
      cmd = "Videre",
      dependencies = {
          "Owen-Dechow/graph_view_yaml_parser", -- Optional: add YAML support
          "Owen-Dechow/graph_view_toml_parser", -- Optional: add TOML support
          "a-usr/xml2lua.nvim", -- Optional | Experimental: add XML support
      },
      opts = {
          box_style = "sharp",
      }
  }
  



  vim.pack: https://neovim.io/doc/user/pack.html_plugin-manager

  lua
  vim.pack.add {
      "https://github.com/Owen-Dechow/videre.nvim",
      "https://github.com/Owen-Dechow/graph_view_yaml_parser", -- Optional: add YAML support
      "https://github.com/Owen-Dechow/graph_view_toml_parser", -- Optional: add TOML support
      "https://github.com/a-usr/xml2lua.nvim", -- Optional | Experimental: add XML support
  }
  
  require("videre").setup {
      box_style = "sharp",
  }
  


 🧩 Options
lua
---@alias LineStyle "sharp"|"rounded"|"bold"|"double"
---@alias ColumnAlignment "top"|"center"|"bottom"
---@alias RowAlignment "left"|"center"|"right"

{
    ---@comment Character used between cells
    ---@type boolean
    show_title = true,

    ---@comment Character used between cells
    ---@type string
    outside_space = " ",

    ---@comment Character to pad the key column
    ---@type string
    key_space = " ",

Top issues

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON