Permalink
Browse files

Two new python snippets

  • Loading branch information...
1 parent 5dac267 commit 936ee4c808f924a5d813682c57c8c5223c70262c @dbrgn committed Apr 14, 2013
Showing with 8 additions and 0 deletions.
  1. +8 −0 .vim/UltiSnips/python.snippets
@@ -5,3 +5,11 @@ endsnippet
snippet ipdb "Set ipdb breakpoint" b
import ipdb; ipdb.set_trace()
endsnippet
+
+snippet cutf8 "Encoding: UTF8" b
+# -*- coding: utf-8 -*-
+endsnippet
+
+snippet pprint "Import and use pprint" b
+from pprint import pprint; pprint($1)
+endsnippet

0 comments on commit 936ee4c

Please sign in to comment.