Browse and read RFC documents directly within neovim. It fetches and caches RFC indexes and documents, offering a quick way to access these essential internet standards.
- Neovim >= 0.8.0
curlinstalled and available in$PATH- One of:
- Search the full RFC index via fuzzy finder
- Fetches and caches RFC content locally (
~/.cache/nvim/rfc/) - Configurable picker (Telescope or Snacks)
- Open RFCs in current buffer, vertical split, or horizontal split
Install with your favorite package manager:
lazy.nvim:
{
'FrancescoDeSimone/rfc.nvim',
dependencies = {
'nvim-telescope/telescope.nvim', -- or snacks.nvim
},
config = function()
require('rfc').setup({
picker = 'telescope', -- or 'snacks' (auto-detected if not set)
verbose = false, -- Enable/disable verbose notifications
})
end
}packer.nvim:
use {
'FrancescoDeSimone/rfc.nvim',
requires = { 'nvim-telescope/telescope.nvim' }, -- or snacks.nvim
config = function()
require('rfc').setup()
end
}Open the RFC index:
:RFCYou can cleanup the cache:
:RFC cleanYou can force refresh rfc already downloaded once opened:
:RFC refreshWithin the picker:
| Key | Action |
|---|---|
<CR> |
Open RFC in current buffer |
<C-v> |
Open RFC in a vertical split |
<C-x> |
Open RFC in a horizontal split |
RFC documents and the index are cached in ~/.cache/nvim/rfc/. Use :RFC clean to delete all cached files, or :RFC refresh to re-download the index.