Install Vim and set the default editor for Ubuntu

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.

Lovefield

Web Front-End developer

하고싶은게 많고, 나만의 서비스를 만들고 싶은 변태스러운 개발자입니다.

Building Docker Development Environment Using wsl2 in Windows 11

Windows 11 describes how to use WSL 2 to build a Docker development environment.

Docker

AES256 Encryption in JavaScript

AES256 Encryption in JavaScript

Java Script

v5.0.0