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
|
||||
|
||||
@@ -3,10 +3,11 @@ snippet xhtml
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:ops="http://www.idpf.org/2007/ops" xml:lang="en">
|
||||
<head>
|
||||
<title>${1:title}</title>
|
||||
<link href="css/style.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
${2:end}
|
||||
</body>
|
||||
<title>${1:title}</title>
|
||||
<link href="css/style.css" type="text/css" rel="stylesheet" />
|
||||
</head>
|
||||
<body>
|
||||
${2:end}
|
||||
</body>
|
||||
</head>
|
||||
endsnippet
|
||||
|
||||
Reference in New Issue
Block a user