blob: e91740821a7df0e4aebf5eaffec2a0f28f612c52 (
plain) (
tree)
|
|
# If Vim exists on the system, use it instead of ex, vi, and view
command -v vim >/dev/null 2>&1 || return
# Define functions proper
ex() {
vim -e "$@"
}
vi() {
vim "$@"
}
view() {
vim -R "$@"
}
|