Ubuntu Set VI como editor padrão
VIM=<base directory where Vim executable is placed>
VIMRUNTIME=<base directory where Vim runtimes are kept>
EDITOR=$VIM/vim
E.g:
VIMRUNTIME=/usr/bin
EDITOR=/usr/bin/vim
Sparkling Sardine