I use two Macs and use the same ~/.vimrc
file, which is stored at Dropbox, and add a symbolic link to it from within both computers at the same location, ~/.vimrc
. So I don't think there is any difference whatsoever between the two computer's ~/.vimrc
file.
However, when I try to call :tabnew $R
from within one computer's MacVim application, the environmental variable is not expanded correctly. The command works on my other computer, and I set $R
to ~/r
in both of my Macs.
So what does prevent one from being expanded but nonetheless it works on the other? Even echo $R
not working on the computer...
The official doc implies that I don't need to set any configuration to properly expand the environmental variable. Also, the environmental variable correctly is expanded in my Terminal.
Is there anything that I'm missing?