Last Updated: February 25, 2016
·
398
· dmitree

vim - gf for any file in the project

:set path=~/project/views/scripts

Now by putting cursor on test.phtml in vim and pressing 'gf', this file will be opened if it exists in the path (~/project/view/scripts/test.phtml).