Tip 8Finding Files Semantically

In a well-organized codebase, you can expect files of certain types to be located in a particular subdirectory. You may also expect related files (such as unit tests) to be found in a predictable location relative to the name and path of the file you’re editing. With the Projectionist plugin, you can easily open files by category and effortlessly jump to any related files.

Preparation

In this tip, you’ll use the Projectionist plugin[22] by Tim Pope. Install it to your bundle package like this:

=> $ cd $VIMCONFIG/pack/bundle/start
=> $ git clone https://github.com/tpope/vim-projectionist.git

Exploring the Demo Projects

The source code that accompanies this book includes two examples of a skeleton blogging ...

Get Modern Vim now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.