The default editor for linux,especially for svn
[Chinese] 关于设置linux系统的(我主要应用于svn)的默认编辑器
sudo update-alternatives --config editor
There are 3 alternatives which provide `editor'.
Selection Alternative
-----------------------------------------------
1 /bin/ed
*+ 2 /bin/nano
3 /usr/bin/vim.basic
Press enter to keep the default[*], or type selection number: 3
Using '/usr/bin/vim.basic' to provide 'editor'.
I install basic vim on my box, so there is no '/usr/bin/vim.tiny' on the editor display.
Now you could use vim to do 'svn ci' or svn diff with vim.
阅读(239) | 评论(0) | 转发(0) |