|
本帖最后由 xiaoxiao 于 2016-2-9 12:44 编辑
1:用如下命令:
- update-alternatives --config editor
复制代码
2:会显示:
There are 2 choices for the alternative editor (providing /usr/bin/editor).
Selection Path Priority Status
------------------------------------------------------------
0 /bin/nano 40 auto mode
1 /bin/nano 40 manual mode
* 2 /usr/bin/vim.tiny 10 manual mode
Press enter to keep the current choice, or type selection number:
3:选择2即可 |
|