are you launching mvim or vi in terminal? if is mvim, than in the menu, click on 'edit; than select startup settings, see if you that is using the same .vimrc file,
however, what is used in macvim gui should act the same to vi terminal, only some of the color schemes don't work under both. On Sat, Jun 11, 2011 at 11:07 PM, Ben Schmidt <[email protected] > wrote: > On 11/06/11 10:57 PM, Stephen Rasku wrote: > >> I have some customizations in my .vimrc that depend on environment >> variables to work. If I call MacVim from the terminal these >> customizations work but if I launch it from the dock it doesn't. I >> assume this is because my .bashrc is not sourced when launching from >> the dock but it is when running from the terminal. Is there a way to >> ensure that the environment variables are set even when MacVim is >> launched from the dock? >> > > Hi, Stephen, > > Sounds like you have things in your .bashrc (for interactive non-login > shells--or, for some insane reason I have yet to understand, > non-interactive non-login shells when invoked by ssh) that you want in > .profile (for login shells). MacVim, like Terminal, launches a login > shell when it starts Vim instances. But for MacVim it is not an > interactive shell. > > Ben. > > > > -- > You received this message from the "vim_mac" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php > -- You received this message from the "vim_mac" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
