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,89 +1,89 @@
# Generic tags
snippet %
{% ${1} %}${2}
{% ${1} %}
snippet %%
{% ${1:tag_name} %}
${2}
${0}
{% end$1 %}
snippet {
{{ ${1} }}${2}
{{ ${1} }}
# Template Tags
snippet autoescape
{% autoescape ${1:off} %}
${2}
${0}
{% endautoescape %}
snippet block
{% block ${1} %}
${2}
${0}
{% endblock %}
snippet #
{# ${1:comment} #}
{# ${0:comment} #}
snippet comment
{% comment %}
${1}
${0}
{% endcomment %}
snippet cycle
{% cycle ${1:val1} ${2:val2} ${3:as ${4}} %}
snippet debug
{% debug %}
snippet extends
{% extends "${1:base.html}" %}
{% extends "${0:base.html}" %}
snippet filter
{% filter ${1} %}
${2}
${0}
{% endfilter %}
snippet firstof
{% firstof ${1} %}
snippet for
{% for ${1} in ${2} %}
${3}
${0}
{% endfor %}
snippet empty
{% empty %}
${1}
${0}
snippet if
{% if ${1} %}
${2}
${0}
{% endif %}
snippet el
{% else %}
${1}
snippet eif
{% elif ${1} %}
${2}
${0}
snippet ifchanged
{% ifchanged %}${1}{% endifchanged %}
snippet ifequal
{% ifequal ${1} ${2} %}
${3}
${0}
{% endifequal %}
snippet ifnotequal
{% ifnotequal ${1} ${2} %}
${3}
${0}
{% endifnotequal %}
snippet include
{% include "${1}" %}
{% include "${0}" %}
snippet load
{% load ${1} %}
{% load ${0} %}
snippet now
{% now "${1:jS F Y H:i}" %}
{% now "${0:jS F Y H:i}" %}
snippet regroup
{% regroup ${1} by ${2} as ${3} %}
{% regroup ${1} by ${2} as ${0} %}
snippet spaceless
{% spaceless %}${1}{% endspaceless %}
{% spaceless %}${0}{% endspaceless %}
snippet ssi
{% ssi ${1} %}
{% ssi ${0} %}
snippet trans
{% trans "${1:string}" %}
{% trans "${0:string}" %}
snippet url
{% url ${1} as ${2} %}
{% url ${1} as ${0} %}
snippet widthratio
{% widthratio ${1:this_value} ${2:max_value} ${3:100} %}
{% widthratio ${1:this_value} ${2:max_value} ${0:100} %}
snippet with
{% with ${1} as ${2} %}
${3}
${0}
{% endwith %}
# Template Filters
@ -95,47 +95,47 @@ snippet with
# Note: Template tags that take no arguments are not implemented.
snippet add
add:"${1}"
add:"${0}"
snippet center
center:"${1}"
center:"${0}"
snippet cut
cut:"${1}"
cut:"${0}"
snippet date
date:"${1}"
date:"${0}"
snippet default
default:"${1}"
default:"${0}"
snippet defaultifnone
default_if_none:"${1}"
default_if_none:"${0}"
snippet dictsort
dictsort:"${1}"
dictsort:"${0}"
snippet dictsortrev
dictsortreversed:"${1}"
dictsortreversed:"${0}"
snippet divisibleby
divisibleby:"${1}"
divisibleby:"${0}"
snippet floatformat
floatformat:"${1}"
floatformat:"${0}"
snippet getdigit
get_digit:"${1}"
get_digit:"${0}"
snippet join
join:"${1}"
join:"${0}"
snippet lengthis
length_is:"${1}"
length_is:"${0}"
snippet pluralize
pluralize:"${1}"
pluralize:"${0}"
snippet removetags
removetags:"${1}"
removetags:"${0}"
snippet slice
slice:"${1}"
slice:"${0}"
snippet stringformat
stringformat:"${1}"
stringformat:"${0}"
snippet time
time:"${1}"
time:"${0}"
snippet truncatewords
truncatewords:${1}
truncatewords:${0}
snippet truncatewordshtml
truncatewords_html:${1}
truncatewords_html:${0}
snippet urlizetrunc
urlizetrunc:${1}
urlizetrunc:${0}
snippet wordwrap
wordwrap:${1}
wordwrap:${0}