diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-23 11:26:15 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2013-10-23 11:26:15 +1300 |
commit | afe7f306f39f63c9ce2506df786d7b4281715733 (patch) | |
tree | 9910503fba249aec0fd24a0bcbd2796083ebc9c4 | |
parent | Remove double-up test (diff) | |
download | dotfiles-afe7f306f39f63c9ce2506df786d7b4281715733.tar.gz dotfiles-afe7f306f39f63c9ce2506df786d7b4281715733.zip |
Replace Vim functions with simple aliases
-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' |