![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Cambiar el editor por defecto en Debian (nano por vi), con update-alternativesSegún este artículo, basta hacer lo siguiente:salchicha:/home/dario# update-alternatives --config editor There are 4 programs which provide `editor'. Selection Command
-----------------------------------------------
1 /bin/ae
2 /usr/bin/vim
3 /usr/bin/xemacs21
*+ 4 /usr/bin/nedit
Enter to keep the default[], or type selection number: 2 Using `/usr/bin/vim' to provide `editor'. salchicha:/home/dario# Otros comandos interesantesVer el estado actual salchicha:/home/dario# update-alternatives --display editor |