blob: 37fc187102e802d48d616b4814c950841321c0f5 (
plain) (
tree)
|
|
# If Vim exists on the system, use it instead of ex, vi, and view
if ! hash vim 2>/dev/null ; then
return
fi
# Define functions proper
ex() {
vim -e "$@"
}
vi() {
vim "$@"
}
view() {
vim -R "$@"
}
|