blob: fc04c99f19df5276a485575ccd74d36fbf021bb8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
# If Vim exists on the system, use it instead of ex, vi, and view
command -v vim >/dev/null || return
# Define functions proper
ex() {
vim -e "$@"
}
vi() {
vim "$@"
}
view() {
vim -R "$@"
}
|