mirror of
https://github.com/amix/vimrc
synced 2025-08-30 19:05:00 +08:00
lets try again...
This commit is contained in:
23
sources_non_forked/vim-snippets/snippets.snippets
Normal file
23
sources_non_forked/vim-snippets/snippets.snippets
Normal file
@ -0,0 +1,23 @@
|
||||
#########################
|
||||
# SNIPPETS for SNIPPETS #
|
||||
#########################
|
||||
|
||||
# We use a little hack so that the snippet is expanded
|
||||
# and parsed correctly
|
||||
snippet snip "Snippet definition" !
|
||||
`!p snip.rv = "snippet"` ${1:Tab_trigger} "${2:Description}" ${3:!b}
|
||||
$0
|
||||
`!p snip.rv = "endsnippet"`
|
||||
endsnippet
|
||||
|
||||
snippet global "Global snippet" !
|
||||
`!p snip.rv = "global"` !p
|
||||
$0
|
||||
`!p snip.rv = "endglobal"`
|
||||
endsnippet
|
||||
|
||||
snippet vis "${VISUAL}" i
|
||||
\$\{VISUAL${1:${2:default}${3:/transform/}}\}
|
||||
endsnippet
|
||||
|
||||
# vim:ft=snippets:
|
Reference in New Issue
Block a user