diff options
author | Jesse Luehrs <doy@tozt.net> | 2014-10-22 23:19:30 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2014-10-22 23:19:45 -0400 |
commit | 72de5f9814ad7fe8b9520b3ecd676dfa16c5fc62 (patch) | |
tree | 8f18110e9f27cb3bf1659fb64b528172f3f25073 /vim | |
parent | a3bb0c229550673e2e8789f7df021f280bb391cd (diff) | |
download | conf-72de5f9814ad7fe8b9520b3ecd676dfa16c5fc62.tar.gz conf-72de5f9814ad7fe8b9520b3ecd676dfa16c5fc62.zip |
start saving some python snippets
Diffstat (limited to 'vim')
-rw-r--r-- | vim/snippets/python.snippets | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vim/snippets/python.snippets b/vim/snippets/python.snippets new file mode 100644 index 0000000..4887167 --- /dev/null +++ b/vim/snippets/python.snippets @@ -0,0 +1,8 @@ +snippet test + import unittest + + ${1} + + class ${2:`join(map(split(matchstr(expand("%"), '^t\(ests\?\)\?/\zs.*\ze\.py'), '_'), 'toupper(v:val[0]) . v:val[1:]'), '')`}(unittest.TestCase): + def test_${3}(self): + ${4} |