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