Skip to content

Latest commit

 

History

History
24 lines (19 loc) · 858 Bytes

README.md

File metadata and controls

24 lines (19 loc) · 858 Bytes

vim-cmake-lists

Vim plugin for navigation of CMakeLists.txt files

Installation

It is recommended to use a plugin manager to install, such as Vundle or minpac.

Usage

:CMakeLists
Open the CMakeLists.txt file for the directory of the currently selected buffer.

:CMakeLists {directory}
Open the CMakeLists.txt file for the given {directory}. The directory may be given as an absolute or relative path. If relative, the path will be interpreted relative to the directory of the currently selected buffer.

:CMakeLists! [directory]
Edit the CMakeLists.txt file for the [directory] always, similar to :edit!.

gf
Open the CMakeLists.txt file for the directory under or after the cursor. Directory paths may be either absolute or relative.