Created
February 9, 2013 10:19
-
-
Save voidman/4744776 to your computer and use it in GitHub Desktop.
修改 Debian 默认编辑器
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
输入命令: | |
pi@raspberrypi ~ $ update-alternatives --config editor | |
有 4 个候选项可用于替换 editor (提供 /usr/bin/editor)。 | |
选择 路径 优先级 状态 | |
------------------------------------------------------------ | |
* 0 /bin/nano 40 自动模式 | |
1 /bin/ed -100 手动模式 | |
2 /bin/nano 40 手动模式 | |
3 /usr/bin/vim.basic 30 手动模式 | |
4 /usr/bin/vim.tiny 10 手动模式 | |
然后选择希望的编辑器 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment