Skip to content

sembrex/myvim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIM Laravel IDE

My VIM configuration and plugins for developing laravel apps

Plugins

Installation

  • Backup your existing ~/.vim directory
mv ~/.vim ~/.vim_backup
  • Clone this repository to ~/.vim
git clone https://github.com/sembrex/myvim.git ~/.vim
  • Enter ~/.vim directory
cd ~/.vim
  • Clone all plugins
git submodule update --init --recursive

Post Installation

Build YouCompleteMe

Click here for official installation guide

Build Universal Ctags (optional)

Universal ctags is required for generating tags with PHP Trait support. See vim-php-namespace documentation here for more detail.

Generate Project Tags

These tags are required by vim-php-namespace

  • Using universal ctags
cd your_project_path
ctags -R --PHP-kinds=cfit -f tags.vendors vendor
ctags -R --PHP-kinds=cfit app
  • Using ctags
cd your_project_path
ctags -R --PHP-kinds=cfi --regex-php="/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i" -f tags.vendors vendor
ctags -R --PHP-kinds=cfi --regex-php="/^[ \t]*trait[ \t]+([a-z0_9_]+)/\1/t,traits/i" app

Note: if you change above tags filename, make sure you change tags and autotag configuration in vimrc line 77 & 78

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published