doc: update
This commit is contained in:
parent
d1b2117fa2
commit
936c13d073
1 changed files with 36 additions and 24 deletions
44
README.md
44
README.md
|
|
@ -10,14 +10,15 @@ https://github.com/user-attachments/assets/e81d8dfb-578f-4a79-9989-210164fc0148
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
- **Multi-platform support**: AtCoder, CodeChef, Codeforces, USACO, CSES, Kattis
|
- **Multi-platform support**: AtCoder, CodeChef, Codeforces, USACO, CSES, Kattis
|
||||||
- **Automatic problem setup**: Scrape test cases and metadata in seconds
|
- **Online Judge Integration**: Submit problems and view contest standings
|
||||||
- **Dual view modes**: Lightweight I/O view for quick feedback, full panel for
|
- **Live Contest Support**: Participate in real-time contests
|
||||||
detailed analysis
|
- **Automatic setup**: Scrape test cases and metadata in seconds
|
||||||
- **Test case management**: Quickly view, edit, add, & remove test cases
|
- **Streamlined Editing**: Configure coding view, edit test cases,
|
||||||
- **Rich test output**: 256 color ANSI support for compiler errors and program
|
stress-test solutions, run interactive problems, and more
|
||||||
|
- **Rich output**: 256 color ANSI support for compiler errors and program
|
||||||
output
|
output
|
||||||
- **Language agnostic**: Works with any language
|
- **Language agnosticism**: Configure with any language
|
||||||
- **Diff viewer**: Compare expected vs actual output with 3 diff modes
|
- **Security**: Passwords go untampered
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
|
@ -37,15 +38,16 @@ luarocks install cp.nvim
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
cp.nvim follows a simple principle: **solve locally, submit remotely**.
|
1. Find a contest:
|
||||||
|
|
||||||
### Basic Usage
|
|
||||||
|
|
||||||
1. Find a contest or problem
|
|
||||||
2. Set up contests locally
|
|
||||||
|
|
||||||
```
|
```
|
||||||
:CP codeforces 1848
|
:CP pick
|
||||||
|
```
|
||||||
|
|
||||||
|
2. View the problem:
|
||||||
|
|
||||||
|
```
|
||||||
|
:CP open
|
||||||
```
|
```
|
||||||
|
|
||||||
3. Code and test
|
3. Code and test
|
||||||
|
|
@ -69,7 +71,17 @@ cp.nvim follows a simple principle: **solve locally, submit remotely**.
|
||||||
:CP panel --debug
|
:CP panel --debug
|
||||||
```
|
```
|
||||||
|
|
||||||
5. Submit on the original website
|
6. Submit:
|
||||||
|
|
||||||
|
```
|
||||||
|
:CP submit
|
||||||
|
```
|
||||||
|
|
||||||
|
7. View contest standings:
|
||||||
|
|
||||||
|
```
|
||||||
|
:CP open standings
|
||||||
|
```
|
||||||
|
|
||||||
## Documentation
|
## Documentation
|
||||||
|
|
||||||
|
|
@ -78,7 +90,7 @@ cp.nvim follows a simple principle: **solve locally, submit remotely**.
|
||||||
```
|
```
|
||||||
|
|
||||||
See
|
See
|
||||||
[my config](https://github.com/barrettruth/dots/blob/main/.config/nvim/lua/plugins/cp.lua)
|
[my config](https://github.com/barrettruth/nix/blob/5d0ede3668eb7f5ad2b4475267fc0458f9fa4527/config/nvim/lua/plugins/dev.lua#L165)
|
||||||
for the setup in the video shown above.
|
for the setup in the video shown above.
|
||||||
|
|
||||||
## Motivation
|
## Motivation
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue