vim/UltiSnips/vim.snippets

22 lines
311 B
Plaintext

snippet function "VIM function"
function! ${1:name}($2)
$0
endfunction
endsnippet
snippet if "VIM if statement"
if ${1:condition}
$0
endif
endsnippet
snippet py "Python block" b
python << endpython
$0
endpython
endsnippet
snippet get "VIM get function"
get(${1:g:}, "${2:name}", ${3:default})$0
endsnippet