X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/51e532bed427bffeac8fa44da7b2b6bf198b6849..d5c95f6a8f274f42cce81bfe544266a7bb53474b:/.vim/snippets/sh.snippets?ds=inline diff --git a/.vim/snippets/sh.snippets b/.vim/snippets/sh.snippets deleted file mode 100644 index f035126..0000000 --- a/.vim/snippets/sh.snippets +++ /dev/null @@ -1,28 +0,0 @@ -# #!/bin/bash -snippet #! - #!/bin/bash - -snippet if - if [[ ${1:condition} ]]; then - ${2:#statements} - fi -snippet elif - elif [[ ${1:condition} ]]; then - ${2:#statements} -snippet for - for (( ${2:i} = 0; $2 < ${1:count}; $2++ )); do - ${3:#statements} - done -snippet wh - while [[ ${1:condition} ]]; do - ${2:#statements} - done -snippet until - until [[ ${1:condition} ]]; do - ${2:#statements} - done -snippet case - case ${1:word} in - ${2:pattern}) - ${3};; - esac diff --git a/.vim/snippets/sh.snippets b/.vim/snippets/sh.snippets new file mode 120000 index 0000000..80aed0e --- /dev/null +++ b/.vim/snippets/sh.snippets @@ -0,0 +1 @@ +/usr/share/vim/addons/snippets/sh.snippets \ No newline at end of file