Skip to content

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

redis-view.nvim

A small, read-only Redis key and value browser for Neovim. It opens as a large two-pane floating workspace, leaving the current editor layout untouched.

Requirements

  • Neovim 0.10+
  • A redis-cli with --json support in PATH

Lazy.nvim

{
  dir = vim.fn.expand("~/Code/personal/redis-view.nvim"),
  name = "redis-view.nvim",
  main = "redis-view",
  opts = {},
  cmd = { "RedisConnect", "RedisView", "RedisRefresh", "RedisDisconnect" },
}

Run :RedisConnect and enter a redis:// or rediss:// URI. Passwords remain only in Neovim memory and are passed to redis-cli through REDISCLI_AUTH, never as a command argument.

Commands and keys

  • :RedisConnect [URI]: test a connection and open the browser.
  • :RedisView: reopen the current session and rescan keys.
  • :RedisRefresh: rescan keys from the beginning.
  • :RedisDisconnect: close the browser and discard the session.
  • The keys pane previews the key under the cursor. <CR> forces a fresh read; L loads more, r refreshes, f filters loaded keys, F clears the filter, and q closes both Redis View floats.
  • In the value pane: L load another page, r refresh the selected value, q close.
  • <leader>ryk yanks the key under the cursor; <leader>ryv yanks the displayed value. For strings, the value mapping preserves the raw value rather than its escaped display form.

Strings, hashes, lists, sets, sorted sets, and streams are rendered with bounded reads. Other Redis/module types show metadata only. This plugin does not expose write, delete, or arbitrary command execution.

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages