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