X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/478346e5e67aa5a184bf28fc8925e353536ca78d..fd091280b0e0935954b1fcfb60cc8a6d3e3dfdee:/.vim/snippets/sh.snippets?ds=sidebyside 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