Vim debian

vim_debian Debian 7.7 SMP Debian 3.16.3-2~bpo70+1 (2014-09-21) 14_11_13 # Where is it located? $ cd /usr/share/vim $ sudo vim vimrc 1. Uncheck “use internal editor” http://www.cyberciti.biz/tips/midnightcommander-set-vi-as-default-editor-viewer.html 2. vim as default debian editor (it is optionally step i think, but useful) $ edit * http://blog.sanctum.geek.nz/vim-as-debian-default/ 3. vim lines in .bashrc http://ubuntuincident.wordpress.com/2010/12/08/configure-mc-open-files/ @Miggs: I don’t know if using aliases in mc.ext is possible. But if you want to change the external viewer (you call it with F3 in mc) and the external editor (F4), there is an easy way. (1) Add these lines to your ~/.bashrc: export EDITOR=/usr/bin/geany export PAGER=$EDITOR source ~/.bashrc or open a new terminal (2) Tell mc to use an external viewer/editor. Go to Options -> Configuration… and untick “use internal edit” and “use internal view”. Save settings.
 * 1) vim as mc’s external editor #