VIM and Drupal 8
Drupal Madrid - January 2016
Juampy NR - @juampynr
Index
Background
Setup
Basic editing
Directory browsing
Searching
Navigating through code
Window management
Debugging
Why did I change from this… :-D
I use a slightly modified version of the spf13 distribution.
sudo apt-get -y install vim vim-gnome exuberant-ctags
cp ~/projects/Ubuntu-Installer/.ctags ~/
curl http://j.mp/spf13-vim3 -L -o - | sh
cp ~/projects/Ubuntu-Installer/.vimrc.local ~/
cp ~/projects/Ubuntu-Installer/.vimrc.before.local ~/
Source: Ubuntu installer script.
Searching (grep + CtrlP + tags)
Navigating through code (Tagbar plugin)
Window management (tabs and buffers)
Debugging a request(Vdebug plugin)
Debugging a script(Vdebug plugin + Drush)
Links
- Type vimtutor and follow the tutorial for basic usage.
- Install the spf13 distribution.
- Take your time to read the docs of each plugin.
- Test your skills and learn by playing VIMGolf.
- Get the latest book: Practical VIM.
https://pragprog.com/book/dnvim/practical-vim
Thanks! Questions?
@juampynr
Want to work at Lullabot? Then talk to me.
VIM and Drupal 8
Drupal Madrid - January 2016
Juampy NR - @juampynr