Files
q-tools/vim/vimbox
2015-08-12 15:04:59 +03:00

14 lines
381 B
Bash
Executable File

#!/bin/bash
function helpexit() {
echo Edit a file with check list mod of vim.
echo "Key 'b' inserts a checkbox, space toggles the box."
echo "Ctrl-b in editing mode inserts a checkbox."
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" "$@"