Hello guys, I have recently been developing a few projects in Laravel, and, being myself a die hard Vim user, I prefer the MacVim approach, when I first started out with laravel, I decided to set some Vim mappings in order to integrate my laravel workflow into Vim, so far, i have this specific mappings:
"-----------------Laravel Specific Mappings---------------"
"Shortcut for routes/web.php file
nmap lr :tabedit routes/web.php
nmap lmi :!php artisan migrate
nmap lmc :!php artisan make:controller
nmap lmm :!php artisan make:model
nmap lmmt :!php artisan make:migration
nmap lfc :CtrlPapp/Http/Controllers/
nmap lfdm :CtrlPdatabase/migrations/
nmap lfm :CtrlPapp/
nmap lfv :CtrlPresources/views/
nmap lfs :CtrlPdatabase/seeds/
I do this because I have not seen a lot of laravel FUNCTIONAL plugins yet, and I would love to see that some one actually finds this poor mappings useful, cheers Vim users !!
Self care is a hot topic these days, and I’m not just talking about face masks. There is a growing movement that underscores the importance of taking time to take care of yourself (in addition to all the other things that you already take time for). You can prevent problems down the road by taking proactive steps to ensure your health and happiness.