When I open MacVim (installed with homebrew) in the GUI, the Explorer works as expected. But if I open "vim" in a terminal, I've got that message:
E492: Not an editor command: Explorer
But the netrw is installed. This is what return :scriptnames
4: /usr/local/Cellar/vim/7.4.712_1/share/vim/vim74/plugin/netrwPlugin.vim
vim --version
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 14 2015 16:38:12)
MacOS X (unix) version
brew info macvim
macvim: stable 7.4-81, HEAD
GUI for vim, made for OS X
https://github.com/macvim-dev/macvim
/usr/local/Cellar/macvim/7.4-77 (1905 files, 34M)
Built from source
/usr/local/Cellar/macvim/7.4-81 (1918 files, 35M) *
Built from source
From: https://github.com/Homebrew/homebrew/blob/master/Library/Formula/macvim.rb
==> Dependencies
Recommended: cscope ✔
Optional: lua ✔, luajit ✘
==> Options
--with-custom-icons
Try to generate custom document icons
--with-lua
Build with lua support
--with-luajit
Build with luajit support
--with-override-system-vim
Override system vim
--with-python3
Build with python3 support
--without-cscope
Build without cscope support
--without-python
Build without python support
--HEAD
Install HEAD version
==> Caveats
.app bundles were installed.
Run `brew linkapps macvim` to symlink these to /Applications.
vi
. Also what do you get withwhich vim
?vi
bring me intovim
andwhich vim
gives/usr/local/bin/vim
which -a vim
, you should only get one path. Myvim
is installed at/usr/bin/vim
. Open your file with full path ofvim
i.e.usr/bin/vim
. I think you have a third partyvim
installed.vim
comes pre-packaged with OS X, have a look in your .bashrc and .bashprofile the culprit should be there, creating an alias to the third party command.:Explore
?