Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rfc.nvim

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.

Requirements

Features

  • 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

Installation

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
}

Usage

Open the RFC index:

:RFC

You can cleanup the cache:

:RFC clean

You can force refresh rfc already downloaded once opened:

:RFC refresh

Keybindings

Within 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

Caching

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.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages