Files
q-tools/vim/vimbox
ville rantanen 9a1d7c68ca typo
2015-04-05 22:29:09 +03:00

13 lines
322 B
Bash
Executable File

#!/bin/bash
function helpexit() {
echo Edit a file with check list mod of vim
echo "key 'b' adds a checkbox, space toggles the box"
echo All switches are passed on to vim.
exit
}
[[ -z "$1" ]] && helpexit
[[ "$1" = "-h" ]] && helpexit
LIB=$( dirname $( readlink -f $0 ) )/checklist.vim
vim -S "$LIB" "$@"