cp.nvim/readme.md
2025-09-11 23:52:32 -05:00

804 B

cp.nvim

A Neovim plugin for competitive programming.

Features

  • Support for multiple online judges (AtCoder, Codeforces, CSES, ICPC)
  • 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 and a C++ compiler
  • (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

  • USACO support