Midnight Commander i VIM

I just figured it out for some reason in Ubuntu 10.04 there are 3 steps

  1. Configure MC to use an external editor

  2. sudo update-alternatives --config editor and select VIM

  3. Edit ~/.bashrc to include

EDITOR=/usr/bin/vim export EDITOR=/usr/bin/vim