1
0
mirror of https://github.com/gryf/.vim.git synced 2025-12-17 11:30:29 +01:00

Update of the snippets

This commit is contained in:
2016-09-01 21:05:53 +02:00
parent b946683aef
commit 80dd1c393b
3 changed files with 17 additions and 6 deletions

View File

@@ -22,4 +22,10 @@ snippet fp "full path filename"
`!v expand("%:p")` `!v expand("%:p")`
endsnippet endsnippet
snippet uuid "UUID" !b
`!p import uuid
if not snip.c:
snip.rv = str(uuid.uuid4())`
endsnippet
# vim:ft=snippets: # vim:ft=snippets:

View File

@@ -2,6 +2,10 @@ snippet dbg "IPython Debugger abbrv" !b
import ipdb; ipdb.set_trace() import ipdb; ipdb.set_trace()
endsnippet endsnippet
snippet rdbg "Remote ipdb abbrv" !b
import ripdb; ripdb.set_trace()
endsnippet
snippet pdb "pdb abbrv" !b snippet pdb "pdb abbrv" !b
import pdb; pdb.set_trace() import pdb; pdb.set_trace()
endsnippet endsnippet

View File

@@ -10,3 +10,4 @@ snippet xhtml
${2:end} ${2:end}
</body> </body>
</head> </head>
endsnippet