cp.nvim/readme.md
2025-09-12 00:00:52 -05:00

860 B

cp.nvim

neovim plugin for competitive programming.

Features

  • Support for multiple online judges (AtCoder, Codeforces, CSES)
  • Automatic problem scraping and test case management
  • Integrated build, run, and debug commands
  • Diff mode for comparing output with expected results
  • LuaSnip integration for contest-specific snippets

Requirements

  • Neovim 0.9+
  • make
  • (Optional) uv for problem scraping
  • (Optional) LuaSnip for snippets

Installation

Using lazy.nvim:

{
    "barrett-ruth/cp.nvim",
    cmd = "CP",
    dependencies = {
        "L3MON4D3/LuaSnip",
    }
}

Documentation

:help cp.nvim

TODO

  • vimdocs
  • example video
  • more flexible setup (more of a question of philosophy)
  • USACO support