Skip to content

Instantly share code, notes, and snippets.

@JCook21
Created January 14, 2013 02:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JCook21/4527290 to your computer and use it in GitHub Desktop.
Save JCook21/4527290 to your computer and use it in GitHub Desktop.
Vim config setup to allow the gf command to work with namespaced PHP classes.
" Allow gf to work with PHP namespaced classes.
set includeexpr=substitute(v:fname,'\\\','/','g')
set suffixesadd+=.php
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment