Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

* Specify related entities in Projectionist configuration, such that,
  for example, `:Eprovider` invoked from `routes/web.php` jumps to
  `app/Providers/RouteServiceProvider.php`.
* Invoke artisan serve via :Start.
* Fix compatibility issue with recent Vims that caused error on startup.
299813e

Git stats

Files

Permalink
Failed to load latest commit information.

README.md

Laravel.vim

Vim support for Laravel/Lumen projects.

Release Build Status

⚠️ This is a prerelease version, which may introduce breaking changes.

Features

  • The :Artisan command wraps !php artisan with intelligent completion.
  • Automatically load new files generated by :Artisan make:* commands into a buffer.
  • Navigation commands such as :Econtroller, :Eroutes, :Etest and many more.
  • Enhanced gf command works on class names, template names, config and translation keys.
  • Complete view/route names in insert mode.
  • Use :Console to fire up a REPL (artisan tinker).
  • Use :Start to serve the app locally (artisan serve).

Installation

Laravel.vim depends on a few other plug-ins for optional features, including composer.vim, dispatch.vim, and projectionist.vim:

Plug 'tpope/vim-dispatch'             "| Optional
Plug 'tpope/vim-projectionist'        "|
Plug 'noahfrederick/vim-composer'     "|
Plug 'noahfrederick/vim-laravel'

See the full list of requirements and integrations.

Credits and License

Thanks to Tim Pope for rails.vim on which Laravel.vim is modeled.

Copyright © Noah Frederick. Distributed under the same terms as Vim itself. See :help license.