diff options
-rw-r--r-- | bash/bashrc.d/vim.bash | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/bash/bashrc.d/vim.bash b/bash/bashrc.d/vim.bash index f6109602..cad63a46 100644 --- a/bash/bashrc.d/vim.bash +++ b/bash/bashrc.d/vim.bash @@ -4,13 +4,7 @@ if ! hash vim 2>/dev/null; then fi # If Vim exists on the system, use it instead of ex, vi, and view -ex() { - command vim -e "$@" -} -vi() { - command vim "$@" -} -view() { - command vim -R "$@" -} +alias ex='vim -e' +alias vi='vim' +alias view='vim -R' |