Vim Explorer "not an editor command" 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
==&gt; Dependencies
Recommended: cscope ✔
Optional: lua ✔, luajit ✘
==&gt; 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
==&gt; Caveats
.app bundles were installed.
Run `brew linkapps macvim` to symlink these to /Applications.
I had no .vimrc yet, when I added a .vimrc file, the Explorer worked without any problem.

But even without .vimrc or .gvimrc, the Explorer worked correctly in MacVim.