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.
- Neovim 0.10+
- A
redis-cliwith--jsonsupport inPATH
{
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.
: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;Lloads more,rrefreshes,ffilters loaded keys,Fclears the filter, andqcloses both Redis View floats. - In the value pane:
Lload another page,rrefresh the selected value,qclose. <leader>rykyanks the key under the cursor;<leader>ryvyanks 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.