Vim file navigation for Mix projects

Vim users: here is a new vim plugin that does fast file navigation between lib/**/source.ex files and test/**/source_test.ex files in Mix projects.

Navigation commands include:

:A - open the alternate file
:AS - open the alternate file in a split window
:AV - open the alternate file in a vertical split
:AT - open the alternate file in a new tab

This plugin is based on Tim Pope’s vim-projectionist plugin.

5 Likes

This is brilliant. I used to use vim-rails and I miss that. This is awesome for working in a Phoenix application :slight_smile:


with updated projectionist file using

and some modifications by myself for live view
2 Likes