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:
@ -1,69 +1,69 @@
|
||||
# rst
|
||||
|
||||
snippet :
|
||||
:${1:field name}: ${2:field body}
|
||||
:${1:field name}: ${0:field body}
|
||||
snippet *
|
||||
*${1:Emphasis}* ${2}
|
||||
*${1:Emphasis}* ${0}
|
||||
snippet **
|
||||
**${1:Strong emphasis}** ${2}
|
||||
**${1:Strong emphasis}** ${0}
|
||||
snippet _
|
||||
\`${1:hyperlink-name}\`_
|
||||
.. _\`$1\`: ${2:link-block}
|
||||
.. _\`$1\`: ${0:link-block}
|
||||
snippet =
|
||||
${1:Title}
|
||||
=====${2:=}
|
||||
${3}
|
||||
${0}
|
||||
snippet -
|
||||
${1:Title}
|
||||
-----${2:-}
|
||||
${3}
|
||||
${0}
|
||||
#some directive
|
||||
snippet img:
|
||||
.. |${2:alias}| image:: ${1:img}
|
||||
.. |${0:alias}| image:: ${1:img}
|
||||
snippet fig:
|
||||
.. figure:: ${1:img}
|
||||
:alt: ${2:alter text}
|
||||
:alt: ${0:alter text}
|
||||
|
||||
$2
|
||||
snippet cont:
|
||||
.. contents::
|
||||
${1:content}
|
||||
${0:content}
|
||||
snippet code:
|
||||
.. code:: ${1:type}
|
||||
|
||||
${2:write some code}
|
||||
${0:write some code}
|
||||
snippet tip:
|
||||
.. tip::
|
||||
${1:my tips}
|
||||
${0:my tips}
|
||||
snippet not:
|
||||
.. note::
|
||||
${1:my notes}
|
||||
${0:my notes}
|
||||
snippet war:
|
||||
.. warning::
|
||||
${1:attention!}
|
||||
${0:attention!}
|
||||
snippet imp:
|
||||
.. important::
|
||||
${1:this is importatnt}
|
||||
${0:this is importatnt}
|
||||
snippet att:
|
||||
.. attention::
|
||||
${1:hey!}
|
||||
${0:hey!}
|
||||
snippet dan:
|
||||
.. danger::
|
||||
${1:ah!}
|
||||
${0:ah!}
|
||||
snippet err:
|
||||
.. error::
|
||||
${1:Error occur}
|
||||
${0:Error occur}
|
||||
snippet cau:
|
||||
.. caution::
|
||||
${1:Watch out!}
|
||||
${0:Watch out!}
|
||||
#Spinx only
|
||||
snippet sid:
|
||||
.. sidebar:: ${1:Title}
|
||||
|
||||
${2}
|
||||
${0}
|
||||
# CJK optimize, CJK has no space between charaters
|
||||
snippet *c
|
||||
\ *${1:Emphasis}*\ ${2}
|
||||
\ *${1:Emphasis}*\ ${0}
|
||||
snippet **c
|
||||
\ **${1:Strong emphasis}**\ ${2}
|
||||
\ **${1:Strong emphasis}**\ ${0}
|
||||
|
||||
|
Reference in New Issue
Block a user