Hi i’m Lovefield
Ubuntu usually has VIM installed. But sometimes that’s not the case. For example, if you install Ubuntu with WSL2 on windows.
1. install vim
Plain Text
apt update -y
apt upgrade -y
apt install vim
2. set default editor
Plain Text
select-editor
Select vim after the above command.
tip. set Git default editor to vim
Plain Text
git config --global core.editor "vim"
That was the brief article.