Files
q-tools/vim/vimd
ville rantanen cdbe32d534 rename vimbox
2017-06-07 10:50:24 +03:00

14 lines
349 B
Bash
Executable File

#!/bin/bash
function helpexit() {
echo Edit a file with check list mod of vim.
echo "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 $( realpath $0 ) )/markdown.vim
vim -S "$LIB" "$@"