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.
Vi and Vim Stack Exchange is a question and answer site for people using the vi and Vim families of text editors. It only takes a minute to sign up.
Sign up to join this community
after/ftplugin/javascript.vim
with custom:balt ...
command and then jump with<C-^>
as usual.