aboutsummaryrefslogtreecommitdiff
path: root/my_snippets/python.snippets
diff options
context:
space:
mode:
Diffstat (limited to 'my_snippets/python.snippets')
-rw-r--r--my_snippets/python.snippets4
1 files changed, 4 insertions, 0 deletions
diff --git a/my_snippets/python.snippets b/my_snippets/python.snippets
index e6ecb78..614db46 100644
--- a/my_snippets/python.snippets
+++ b/my_snippets/python.snippets
@@ -12,3 +12,7 @@ snippet print "Print value of some variable"
print("$1".format($2))
$0
endsnippet
+
+snippet impa "import FOO as BAR" b
+import ${1:FOO} as ${2:BAR}
+endsnippet