Author: Kyle Fuller <inbox@kylefuller.co.uk> 2011-05-07 22:08:41 +0100 +0100
Committer: Kyle Fuller <inbox@kylefuller.co.uk> 2011-05-07 22:08:41 +0100 +0100
Commit: 6f3460cb98e53b7fbf7931429566efd741e55261
Parent: 8d302977aa873bec43397d87794c503abf970e1b
Alias "v" to $EDITOR
diff --git a/rc b/rc
index b981e34148a6f0fb011ae3bdeb3db7b5710b57c2..e97fc36df40b3863ae9ea1b9f37d82944764acc2 100644
--- a/rc
+++ b/rc
@@ -6,12 +6,13 @@ if command_exists mvim ; then
export EDITOR=mvim
export GIT_EDITOR='mvim -f --nomru -c "au VimLeave * !open -a Terminal"'
export MANPAGER="col -b | mview -c 'set ft=man nomod nolist' -"
- alias vi=mvim
elif command_exists vim ; then
export EDITOR=vim
elif command_exists vi ; then
export EDITOR=vi
fi
+
+alias v=$EDITOR
if [ -r ~/.oh-my-zsh ] ; then
# Path to your oh-my-zsh configuration.