> I keep all my MacVim in my .vimrc file. When I ssh into my machine and > invoke the vim command, my settings are really different: it seems > that not even the Ctrl+6 function to switch between files is read. How > do I synchronise my MacVim and Vim settings? I am aware this is not > 100% possible (for instance for the colors), but which are the files > sourced by MacVim and Vim?
MacVim and Vim source the same files. :help startup details everything. However, if you just issue the vim command, it's likely you're running a different copy of Vim, e.g. the one installed by default on Mac OS X, with many less features. Try running the MacVim one directly with something like /Applications/MacVim.app/Contents/MacOS/Vim and see if that helps. If it does, you may want to replace the Vim Apple provides with symlink to MacVim's: sudo ln -s /Applications/MacVim.app/Contents/MacOS/Vim /usr/bin/vim Or depending on your $PATH you may prefer to use /usr/local/bin/vim or /opt/local/bin/vim (or something else!). The control-6 thing may be related to the ssh program you use, though if you're just in Terminal.app it should be OK. Cheers, Ben. --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_mac" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
