podemos trocar o editor padrão do sistema:
To change the default editor, run
sudo update-alternatives --config editor
. You'll see a dialog like this:
There are 3 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /usr/bin/vim
2 /bin/ed
*+ 3 /bin/nano
Press enter to keep the default[*], or type selection number:Just type 1 to switch to Vim. Note that on my system, I don't have Emacs or many other editors installed; if I did, the utility would offer the other editors as choices.
Nenhum comentário:
Postar um comentário
Insira seu comentário - O mesmo será submetido à aprovação!