Change Ubuntu default editor
Ubuntu use the nano
as its default editor, you can change it to vim use the command update-alternatives --config editor
and then select the /usr/bin/vim.basic
.
Thit’s it, enjoy yourself.
Written on August 31, 2019