PHP coding standards with VIM

Some settings which help writing pear coding standards compliant
PHP code with VIM

Put the following into ~/.vimrc :
set expandtab
set shiftwidth=4
set softtabstop=4
set tabstop=4


This basically causes VIM to do 4 space indents with no tabs
Permalink
Posted in:

Comments

No new comments allowed (anymore) on this post.

LiveSearch

Blogroll

Relayed

Archive

Buttons

  • RSS 2.0 Feed
  • Latest comments
  • XHTML 1.0 compliant
  • Powered by Flux CMS
  • Powered by Popoon

Login


BXCMSNG Errors:
Notice[8] Undefined index: 0 in [BX_PROJECT_DIR]/inc/bx/plugins/blog/categories.php at line 59.