Files
q-tools/vim/vimansi
ville rantanen 6f5520ac82 tidy up
2015-04-02 12:59:43 +03:00

13 lines
261 B
Bash
Executable File

#!/bin/bash
function helpexit() {
echo Edit a file with ANSI editor mod of vim
echo All switches are passed on to vim.
exit
}
[[ -z "$1" ]] && helpexit
[[ "$1" = "-h" ]] && helpexit
LIB=$( dirname $( readlink -f $0 ) )/ansi.vim
vim -S "$LIB" "$@"