1

Here's an example of a typical project structure for me:

components/a.js
components/common/b.js
tests/unit/components/a.test.js
tests/unit/components/common/b.test.js

Notice that inside the /unit folder, I mimic the structure of the project.

2
  • I never used it personally but I believe vim-projectionist does what you are looking for.
    – statox
    Mar 11, 2021 at 9:00
  • Kind of creating after/ftplugin/javascript.vim with custom :balt ... command and then jump with <C-^> as usual.
    – Matt
    Mar 11, 2021 at 9:20

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.