diff tcsh @ 33:330587be514c

Better vim support.
author Edho Prima Arief <me@myconan.net>
date Sun, 27 Mar 2011 11:32:08 +0000
parents e0b9a89a559d
children 3a9d39d8805b
line wrap: on
line diff
--- a/tcsh	Tue Mar 08 15:28:31 2011 +0700
+++ b/tcsh	Sun Mar 27 11:32:08 2011 +0000
@@ -91,6 +91,6 @@
 endsw
 unset gnuls_opts
 
-( which vim ) > /dev/null && alias vi vim
+( which vim ) > /dev/null && alias vi vim && setenv EDITOR vim
 
 [ -e "${HOME}/.tcsh_init.after" ] && source "${HOME}/.tcsh_init.after"