Searching For a Maintainer
This project is not being actively maintained by Jacky Alcine. If you'd like to contribute to improve this project, please submit pull requests (Jacky is still reviewing them) and over time, the most active contributor can take the reigns.
I recommending using Vundle to install plugins. The line necessary to add this plugin is as follows:
Releases are made on Vim.org's scripts as well on patch-level releases.
cmake.vim is a pure Vimscript plugin, thus requiring nothing but Vim
itself being over version 7.3 or greater. Patches to support older versions of
Vim are greatly appreciated!
After you installed the plugin, just
cd into the directory where the
top-level CMakeLists.txt can be found and run:
" Create a new binary directory for your clean project. :CMakeCreateBuild <build-dir-name> " Build all of the targets. :CMakeBuild " Clean up bad builds. :CMakeClean
cmake.vim does not bind to any keys by default. Check
:h cmake for more
cmake.vim defines a few methods for generic interaction with CMake. Check
:help cmake-methods for more information.
In order for CMake to operate, it has to know where the build directory is
located. This is done automatically by the plugin but it does need help in the
event that you happen to build your CMake project in a sub-directory. Check
:help cmake-options for more information.
The test suite is written using RSpec and Vimrunner. The following would do a full unit test of the entire system:
bundle install && rake
- If you use a header file as the source file, the plugin only knows of the
source files (which sometimes are generated) and doesn't update the
This code is released and available under the MIT license. Multiply and be fruitful.
There's a few other projects out there that aim to achieve the same goal as
cmake.vim. Feel free to send a PR if you want your project listed here.
I'm Jacky Alcine and I like code. A lot. I also chat a lot like a firehose so follow with caution!