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:
@@ -22,4 +22,10 @@ snippet fp "full path filename"
|
||||
`!v expand("%:p")`
|
||||
endsnippet
|
||||
|
||||
snippet uuid "UUID" !b
|
||||
`!p import uuid
|
||||
if not snip.c:
|
||||
snip.rv = str(uuid.uuid4())`
|
||||
endsnippet
|
||||
|
||||
# vim:ft=snippets:
|
||||
|
||||
@@ -2,6 +2,10 @@ snippet dbg "IPython Debugger abbrv" !b
|
||||
import ipdb; ipdb.set_trace()
|
||||
endsnippet
|
||||
|
||||
snippet rdbg "Remote ipdb abbrv" !b
|
||||
import ripdb; ripdb.set_trace()
|
||||
endsnippet
|
||||
|
||||
snippet pdb "pdb abbrv" !b
|
||||
import pdb; pdb.set_trace()
|
||||
endsnippet
|
||||
|
||||
@@ -10,3 +10,4 @@ snippet xhtml
|
||||
${2:end}
|
||||
</body>
|
||||
</head>
|
||||
endsnippet
|
||||
|
||||
Reference in New Issue
Block a user