Skip to main content

Vim / Neovim

cpbooster has a plugin for vim / neovim, to make you even faster, you can find it in cpbooster.vim.

Demo#

test

Installation#

npm install cpbooster -g
  • Install cpbooster.vim using your preferred plugin manager

Plug 'searleser97/cpbooster.vim'

Commands#

CommandDescription
:Test [id]Test your current code against all available testcases for it,
or just one testcase if [id] is set.
:Debug [id]Run your current code with your debugging flags,
or run it against one testcase if [id] is set.
:Create <filename>Create source file loading the corresponding
template for the file extension.
:Rtest [id]Test the last compiled version of your code.
Same as :Test but without recompiling.
:Rdebug [id]Debug the last compiled version of your code.
Sames as :Debug but without recompiling.
:AddtcAdd new test case for your current code.
:SubmitSubmit your code to an Online Judge. (Codeforces, AtCoder, ...)

Future Updates#

  • Add :TestAs <filename> command
  • Add :DebugAs <filename> command

License#

cpbooster.vim is licensed under the GNU General Public License v3.0