Reverting back to classic vi preinstalled on Ubuntu

Asked by Giles Farrington

I installed vim the other day, but my professor gave a step by step project that needs to be done in the pre-installed vi. Vim replaced vi, and I was wondering if there was any way to use the original vi pre-installed on Ubuntu after installing vim.

Question information

English Edit question
Ubuntu vim Edit question
No assignee Edit question
Last query:
Last reply:
Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :

Hi ,

try this

sudo update-alternatives --config editor

see if vi listed there , and select it for default editor.


Can you help with this problem?

Provide an answer of your own, or ask Giles Farrington for more information if necessary.

To post a message you must log in.