2010年9月8日星期三

A bash tip

shell里面调用vi编辑命令,编辑完以后又可以回 到命令行编辑好的命令:

先export EDITOR=/usr/bin/vim
然后crtl+x,crtl+e

没有评论:

发表评论