A starter template for LazyVim. Refer to the documentation to get started.
- NeoVim (>= 0.9.0)
- Git (>= 2.19.0)
- a Nerd Font (>= 3.0)
- a C compiler for nvim-treesitter
- node (>=18.0.0) for copilot
- Python (>= 3.6) for the codeforces tool
- make
cd ~/.config/
git clone https://github.com/BerqiaMouad/Neovim-Setup.git nvim
cd nvim/mouad_codeforces_tool
pip install -r requirements.txt
After you installed everything, now you just have to run the command nvim
in your terminal and lazyvim will take care of all the plugins.
nvim
You have to change one simple thing so that the codeforces tool works properly. You have to change the file auth_codeforces.txt
:
your_codeforces_handle
your_codeforces_password
PS: make sure that it is your handle and not your email !!!
<space>cp
this will prompt you to enter the contest id like in the image below.
<space>cpf
this will prompt you first to type the problem name (A, B, C...) then it will ask you to enter the programming language (currently only cpp or python) like in the images below.
<space>test
this will test your current code against the sample test cases (PS: Failed does not always mean that the solution it wrong, sometimes the problem accepts multiple outputs, Failed only means that it does not match the given output.)
<space>sub
this will prompt you first to enter problem name (A, B, C...) then it will ask you to enter the programming laguage (currently only cpp or python). // will add images later
Don't hesitate to make some fork this repo and make some PRs if you find some bugs to address or adding support for more programming languages. Let's make this tool more useful.