update-alternatives

update-alternatives

Set default editor in Ubuntu To change vi editor run To display current vi config, run