1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 09:35:01 +08:00

Updated plugins

This commit is contained in:
Amir
2021-07-30 22:52:54 +02:00
parent a8f0b6f678
commit 65de68fa88
66 changed files with 1368 additions and 404 deletions

View File

@ -70,12 +70,17 @@ endsnippet
snippet here "here document (here)"
<<-${2:'${1:TOKEN}'}
$0
${1/['"`](.+)['"`]/$1/}
$0`echo \\n`${1/['"`](.+)['"`]/$1/}
endsnippet
snippet /ift(est)?/ "if ... then (if)" rb
if ${2:[ ${1:condition} ]}; then
${0:${VISUAL}}
fi
endsnippet
snippet if "if ... then (if)" b
if ${2:[[ ${1:condition} ]]}; then
if [[ ${1:condition} ]]; then
${0:${VISUAL}}
fi
endsnippet
@ -92,4 +97,10 @@ while ${2:[[ ${1:condition} ]]}; do
done
endsnippet
snippet func "function() {...}" b
${1:function} () {
${0:${VISUAL}}
}
endsnippet
# vim:ft=snippets: