mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated all plugins that are non-forked. Added some new plugins.
Added update_plugins.py which can fetch new plugins from GitHub. New plugins added: zencoding, vim-indent-object, taglist, nginx.vim
This commit is contained in:
@ -0,0 +1,2 @@
|
||||
class ${1:``Snippet_PythonClassNameFromFilename()``}(${2:data}):
|
||||
${3}
|
2
sources_non_forked/snipmate-snippets/python/def.snippet
Normal file
2
sources_non_forked/snipmate-snippets/python/def.snippet
Normal file
@ -0,0 +1,2 @@
|
||||
def ${1:name}(${2:data}):
|
||||
${3}
|
3
sources_non_forked/snipmate-snippets/python/for.snippet
Normal file
3
sources_non_forked/snipmate-snippets/python/for.snippet
Normal file
@ -0,0 +1,3 @@
|
||||
for ${1:var} in ${2:type}:
|
||||
${3:pass}
|
||||
${4}
|
2
sources_non_forked/snipmate-snippets/python/from.snippet
Normal file
2
sources_non_forked/snipmate-snippets/python/from.snippet
Normal file
@ -0,0 +1,2 @@
|
||||
from ${1:module} import ${2:name}
|
||||
${3}
|
3
sources_non_forked/snipmate-snippets/python/get.snippet
Normal file
3
sources_non_forked/snipmate-snippets/python/get.snippet
Normal file
@ -0,0 +1,3 @@
|
||||
def get_${1:name}(self):
|
||||
return self._$1
|
||||
${2}
|
@ -0,0 +1,2 @@
|
||||
if __name__ == '__main__':
|
||||
${1}
|
@ -0,0 +1,2 @@
|
||||
import ${1:module}
|
||||
${2}
|
2
sources_non_forked/snipmate-snippets/python/init.snippet
Normal file
2
sources_non_forked/snipmate-snippets/python/init.snippet
Normal file
@ -0,0 +1,2 @@
|
||||
def __init__(self, ${1:args}):
|
||||
${2}
|
1
sources_non_forked/snipmate-snippets/python/set.snippet
Normal file
1
sources_non_forked/snipmate-snippets/python/set.snippet
Normal file
@ -0,0 +1 @@
|
||||
def set_${1:name}(self, ${2:value}):
|
4
sources_non_forked/snipmate-snippets/python/try.snippet
Normal file
4
sources_non_forked/snipmate-snippets/python/try.snippet
Normal file
@ -0,0 +1,4 @@
|
||||
try:
|
||||
${1}
|
||||
except ${2:Exception}
|
||||
${3}
|
Reference in New Issue
Block a user