CMake Commands for vim.
  • Vim Script 100%
Find a file
ae2f acdb5a43bd Bugfix
Changes to be committed:
	modified:   plugin/ccmd.vim.vim
2025-08-12 23:56:32 +09:00
plugin Bugfix 2025-08-12 23:56:32 +09:00
LICENSE Init 2025-08-12 23:52:46 +09:00
README.md Init 2025-08-12 23:52:46 +09:00

dalmurii/ccmd.vim

This is a bunch of neovim config files.
It contains basic features and utilities.

Usage

<args> is for argument vector.
For zero to many arguments will be accepted.

Preconfigured commands

Those commands are pre-configured, and requires no parameters for dumb ones like me.

:CConf <args>

Configure a cmake project with exported compile commands positioned in g:CSDir,

placing the configured project on g:CBDir,
passing <args> g:CArgConf as extra arguments for cmake.

:CBuild <args>

Build a project which has been placed on g:CBDir,

passing <args> g:CArgBuild as extra arguments for cmake --build g:CBDir.

:CTest <args>

Test a built projects which has been placed on g:CBDir.

passing <args> g:CArgTest as extra arguments for ctest --test-dir g:CBDir.

Non-configured commands

Those commands lacks some features since they are for making other commands.

: Cconf <args>

Configure a cmake project with exported compile commands,

passing <args> as extra arguments for cmake.

: Cbuild prm:builddir <args>

Build a project which has been placed on prm:builddir,

passing <args> as extra arguments for cmake --build prm:builddir.

: Ctest

Run a test of built projects,

passing <args> as extra arguments for ctest.