Releases: ankit02327/nvim-cpp-setup
Releases · ankit02327/nvim-cpp-setup
Release list
First Stable Release 🎉
neovim-cpp-runner v1.0.0
A lightweight plugin to simplify C++ development in Neovim with dedicated input/output windows.
Features
- Compile/Run C++ with
F5instantly - Dedicated
input.txt/output.txtpanels - Customizable window layout
- Perfect for competitive programming
- Simple integration with any workflow
Installation
-- Packer
use {
'ankit02327/neovim-cpp-runner',
config = function()
require('neovim-cpp-runner').setup()
end
}
-- Lazy.nvim
{
'ankit02327/neovim-cpp-runner',
config = true,
lazy = false,
}
-- vim-plug
Plug 'ankit02327/neovim-cpp-runner'
" After plug#end():
lua require('neovim-cpp-runner').setup()Configuration (Optional)
require('neovim-cpp-runner').setup({
-- Layout settings
code_width = 0.8, -- 80% width for code
input_height = 0.3, -- 30% height for input panel
output_height = 0.3, -- 30% height for output panel
-- File settings
input_file = "input.txt",
output_file = "output.txt",
-- Compilation settings
compile_command = "g++ % -o %< && %< < {input} > {output}",
})Requirements
- Neovim 0.8+
- g++ compiler
Feedback
Issues and pull requests are welcome on GitHub!