Giter Club home page Giter Club logo

drupal-vim's Introduction

Drupal-vim is a simple drupal-friendy vim configuration example.

REQUIREMENTS
- ctags to generate tags for your project
- xdebug to use the debugger

It provides :
- drupal indentation style
- hooks autocompletion
- php statements autocompletion
- tags to jump to a function declaration like in Eclipse
- a php debugger

It contains two simple bash scripts to :
- generate tags for a project with Ctags (that will be stored to ~/.vim/tags directory)
- generate a dictionary for a project (that will be stored in dictionnaries directory).

You can check also "vimrc" project on drupal.org that now provides a vim plugin for Drupal.

INSTALLATION :
- download "drupal-vim" to your home folder
- ln -s drupal-vim .vim (or rename to "drupal-vim" to ".vim")
- ln -s drupal-vim/vimrc .vimrc

PLUG-INS :
vim-pathogen : clean installation / removal of plug-ins
nerdtree : efficient and simple file explorer in a sidebar windows as in IDEs
vcscommand : git, svn or other cvs support
snipMate : a nice snippet generator : just type "hook_menu", press tab and it will generate a hook_menu for you :-)
nerdcommenter : easy comment / uncomment
taglist : list functions of a files in a sidebar window
debugger : a debugger client for xdebug
CSapprox : allow most of gvim colorsheme work on vim too.

Sources and inspiration :
- D6 snippets from https://github.com/theunraveler/Drupal-Snippets-for-Vim
- D7 snippets from https://github.com/blup/snippets 
- vim as a php editor : http://zmievski.org/2007/02/vim-for-php-programmers-slides-and-resources.
- a simple and efficient vimrc : http://groups.drupal.org/node/4088
- snipMate snippets for Drupal 7 : https://github.com/blup/snippets
- nice vimrc :  https://github.com/akitaonrails/vimfiles/blob/master/vimrc

drupal-vim's People

Contributors

yann-yinn avatar

Watchers

James Cloos avatar Andrew Bickford avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.