more snippets

This commit is contained in:
Zhang Chiyuan 2008-03-07 07:35:05 +00:00
parent 36ae1d01f9
commit 7ce0ff810b
4 changed files with 15 additions and 0 deletions

3
snippets/css-mode/border Normal file
View File

@ -0,0 +1,3 @@
#name : border size style color
# --
border: ${1:1px} ${2:solid} #${3:999};

4
snippets/python-mode/for Normal file
View File

@ -0,0 +1,4 @@
#name : for ... in ... : ...
# --
for ${var} in ${collection}:
$0

View File

@ -0,0 +1,4 @@
#name : if __name__ == '__main__': ...
# --
if __name__ == '__main__':
$0

View File

@ -0,0 +1,4 @@
#name : while ... : ...
# --
while ${condition}:
$0