HidingCherry / ansible-archlinux-encrypted-root

ansible script to install a fully encrypted archlinux system
GNU Affero General Public License v3.0
1 stars 0 forks source link

Change temrinal default editor to nano #38

Open MartinX3 opened 2 years ago

MartinX3 commented 2 years ago

It's enough to install the nano package and remove the vi(m) package. Otherwise the administrator will be lost forever inside the vim editor until someone tells him how to leave it.

HidingCherry commented 2 years ago

For those who can't exit vim -> rtfm or go to vimhell...

But yeah, gonna do that :+1: Maybe not remove, but instead change the EDITOR variable.

MartinX3 commented 2 years ago
# /etc/profile.d/editor.sh
export VISUAL=nano
export EDITOR=nano