blob: 37fc187102e802d48d616b4814c950841321c0f5 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
# 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 "$@"
}
|