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

Updated all the plugins. Removed powerline. Added vim-airline (replacement for powerline). Added vim-fugitive.

This commit is contained in:
amix
2013-11-16 19:45:48 +00:00
parent 351979d3e0
commit 86f4456be1
239 changed files with 14942 additions and 8068 deletions

View File

@ -1,55 +1,55 @@
# Generic tags
snippet {
{{ ${1} }}
{{ ${0} }}
# Template tags
snippet extends
{% extends "${1:base.html}" %}
{% extends "${0:base.html}" %}
snippet autoescape
{% autoescape ${1:xhtml_escape | None} %}
{% autoescape ${0:xhtml_escape | None} %}
snippet apply
{% apply ${1:function} %}
${2}
${0}
{% end %}
snippet block
{% block ${1} %}
${2}
${0}
{% end %}
snippet for
{% for ${1:item} in ${2} %}
${3}
${0}
{% end %}
snippet from
{% from ${1:x} import ${2:y} %}
{% from ${1:x} import ${0:y} %}
snippet if
{% if ${1:condition} %}
${2}
${0}
{% end %}
snippet eif
{% elif ${1:condition} %}
{% elif ${0:condition} %}
snippet el
{% else %}
snippet import
{% import ${1:module} %}
{% import ${0:module} %}
snippet include
{% include "${1:filename}" %}
{% include "${0:filename}" %}
snippet module
{% module ${1:expression} %}
{% module ${0:expression} %}
snippet raw
{% raw ${1:expression} %}
{% raw ${0:expression} %}
snippet set
{% set ${1:x} = ${2:y} %}
{% set ${1:x} = ${0:y} %}
snippet try
{% try %}
${1}
{% except %}
${2}
{% finallly %}
${3}
${0}
{% end %}
snippet while
snippet wh
{% while ${1:condition} %}
${2}
${0}
{% end %}