1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Updated all plugins that are non-forked. Added some new plugins.

Added update_plugins.py which can fetch new plugins from GitHub.

New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
This commit is contained in:
amix
2013-04-13 14:45:21 -03:00
parent 5731b3a420
commit 3f1cdba799
1057 changed files with 33631 additions and 10806 deletions

View File

@ -0,0 +1 @@
$this->assertTrue(${1:somevar}, '${2:sometext}');

View File

@ -0,0 +1 @@
$this->hasColumn('${1:active}', '${2:boolean}', ${3:1}, array('default' => '${4:1}','notnull' => true));

View File

@ -0,0 +1,20 @@
<?php
/**
* $1Controller
* @package ${2}
* @author ${3:`g:snips_author`}
* @copyright (c) `strftime("%Y")`
*/
class ${1:Index}Controller extends Application_Controller
{
/**
* indexAction
*
* @access public
* @return void
*/
public function indexAction(){
${4:// some code}
}
}

View File

@ -0,0 +1 @@
$this->_flashMessenger->addMessage("${1}", '${2:error}');

View File

@ -0,0 +1 @@
$${1:conf} = Zend_Registry::get('${2:config}')->${3:general};

View File

@ -0,0 +1,4 @@
<?= $this->formInput(array( 'type' => '${1:hidden}',
'name' => '${2}',
'value' => ${3:},
'id' => '${4:}' )); ?>

View File

@ -0,0 +1,6 @@
<?= $this->formInput(array( 'type' => '${1:dropdown}',
'name' => '${2}',
'label' => '${3:}',
'errors' => ${4:},
'value' => ${5:},
'valueList' => ${6:} )); ?>

View File

@ -0,0 +1 @@
$this->hasColumn('${1:id}', '${2:integer}', ${3:11}, array(${4:'notnull' => true)});

View File

@ -0,0 +1,5 @@
<?php
class Application_${1:Hellu}
{${2}
}

View File

@ -0,0 +1,32 @@
<?php
class ${1:Model} extends Doctrine_Record implements Zend_Auth_Adapter_Interface, Zend_Acl_Role_Interface
{
protected $searchconditions = array();
/**
* Enter description here...
*
* @var ${2:Model}
*/
protected static $_identity = null;
/**
* Zend_Auth
*
* @var Zend_Auth
*/
protected static $_auth;
/**
* Doctrine
*/
public function setTableDefinition()
{
$this->hasColumn('id', 'integer', 4, array('notnull' => true,
'primary' => true,
'autoincrement' => true));
${3}
}
}

View File

@ -0,0 +1 @@
$this->view->navigationActive = array('topnavi' => '${1:home}','subnavi' => '${2:index}');

View File

@ -0,0 +1 @@
$this->_redirector->gotoRoute(array('controller' => '${1}', 'action' => '${2:index}', 'id' => '${3:}'), '${4:admin_action}');

View File

@ -0,0 +1,2 @@
<?=$this->partial('${1:somefile}.phtml',
array(${2}))?>

View File

@ -0,0 +1 @@
$this->hasColumn('${1:title}', '${2:string}', ${3:255}, array(${4:'notnull' => true}));