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:
@ -3,85 +3,85 @@
|
||||
# Includes octopress (http://octopress.org/) snippets
|
||||
|
||||
snippet [
|
||||
[${1:text}](http://${2:address} "${3:title}")
|
||||
[${1:text}](http://${2:address} "${0:title}")
|
||||
snippet [*
|
||||
[${1:link}](${2:`@*`} "${3:title}")${4}
|
||||
[${1:link}](${2:`@*`} "${3:title}")
|
||||
|
||||
snippet [:
|
||||
[${1:id}]: http://${2:url} "${3:title}"
|
||||
[${1:id}]: http://${2:url} "${0:title}"
|
||||
snippet [:*
|
||||
[${1:id}]: ${2:`@*`} "${3:title}"
|
||||
[${1:id}]: ${2:`@*`} "${0:title}"
|
||||
|
||||
snippet 
|
||||

|
||||
snippet ${4}
|
||||

|
||||
|
||||
snippet ![:
|
||||
![${1:id}]: ${2:url} "${3:title}"
|
||||
![${1:id}]: ${2:url} "${0:title}"
|
||||
snippet ![:*
|
||||
![${1:id}]: ${2:`@*`} "${3:title}"
|
||||
![${1:id}]: ${2:`@*`} "${0:title}"
|
||||
|
||||
snippet ===
|
||||
`repeat('=', strlen(getline(line(".") - 1)))`
|
||||
`repeat('=', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
|
||||
|
||||
${1}
|
||||
${0}
|
||||
snippet ---
|
||||
`repeat('-', strlen(getline(line(".") - 1)))`
|
||||
`repeat('-', strlen(getline(line(".") - 1)) - strlen(getline('.')))`
|
||||
|
||||
${1}
|
||||
${0}
|
||||
|
||||
snippet blockquote
|
||||
{% blockquote %}
|
||||
${1:quote}
|
||||
${0:quote}
|
||||
{% endblockquote %}
|
||||
|
||||
snippet blockquote-author
|
||||
{% blockquote ${1:author}, ${2:title} %}
|
||||
${3:quote}
|
||||
${0:quote}
|
||||
{% endblockquote %}
|
||||
|
||||
snippet blockquote-link
|
||||
{% blockquote ${1:author} ${2:URL} ${3:link_text} %}
|
||||
${4:quote}
|
||||
${0:quote}
|
||||
{% endblockquote %}
|
||||
|
||||
snippet bt-codeblock-short
|
||||
```
|
||||
${1:code_snippet}
|
||||
${0:code_snippet}
|
||||
```
|
||||
|
||||
snippet bt-codeblock-full
|
||||
``` ${1:language} ${2:title} ${3:URL} ${4:link_text}
|
||||
${5:code_snippet}
|
||||
${0:code_snippet}
|
||||
```
|
||||
|
||||
snippet codeblock-short
|
||||
{% codeblock %}
|
||||
${1:code_snippet}
|
||||
${0:code_snippet}
|
||||
{% endcodeblock %}
|
||||
|
||||
snippet codeblock-full
|
||||
{% codeblock ${1:title} lang:${2:language} ${3:URL} ${4:link_text} %}
|
||||
${5:code_snippet}
|
||||
${0:code_snippet}
|
||||
{% endcodeblock %}
|
||||
|
||||
snippet gist-full
|
||||
{% gist ${1:gist_id} ${2:filename} %}
|
||||
{% gist ${1:gist_id} ${0:filename} %}
|
||||
|
||||
snippet gist-short
|
||||
{% gist ${1:gist_id} %}
|
||||
{% gist ${0:gist_id} %}
|
||||
|
||||
snippet img
|
||||
{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${6:alt_text} %}
|
||||
{% img ${1:class} ${2:URL} ${3:width} ${4:height} ${5:title_text} ${0:alt_text} %}
|
||||
|
||||
snippet youtube
|
||||
{% youtube ${1:video_id} %}
|
||||
{% youtube ${0:video_id} %}
|
||||
|
||||
# The quote should appear only once in the text. It is inherently part of it.
|
||||
# See http://octopress.org/docs/plugins/pullquote/ for more info.
|
||||
|
||||
snippet pullquote
|
||||
{% pullquote %}
|
||||
${1:text} {" ${2:quote} "} ${3:text}
|
||||
${1:text} {" ${2:quote} "} ${0:text}
|
||||
{% endpullquote %}
|
||||
|
Reference in New Issue
Block a user