more snippets for rst-mode

This commit is contained in:
Zhang Chiyuan 2008-03-12 02:16:20 +00:00
parent d05cb05a9d
commit 8780bc95ea
4 changed files with 14 additions and 0 deletions

View File

@ -1,3 +1,4 @@
#contributor : Orestis Markou
#name : class ... :
# --
class ${1:cname}(${2:object}):

View File

@ -1,3 +1,4 @@
#contributor : Orestis Markou
#name : def ... :
# --
def ${1:fname}(${self}):

View File

@ -0,0 +1,6 @@
#name : Chapter title
# --
${1:Chapter}
${1:$(make-string (string-width text) ?\=)}
$0

View File

@ -0,0 +1,6 @@
#name : Section title
# --
${1:Section}
${1:$(make-string (string-width text) ?\-)}
$0