adolsai's echo - editor
type: channel
link: http://adolsai.com/index.php/tag/editor/
items: set debian default editor

set debian default editor
type: item
date: 2014-03-10T08:25:00+00:00
description: debian终端下默认编辑器为nano，比如crontab -e就会打开nano，这个编辑器用起来很不习惯，想修改为vim,当然,你的debian系统必须先安装vim.如果已经安装vim,请输入如下命令: 输入命令： update-alternatives --config editor [...]