Chinaunix首页 | 论坛 | 博客
  • 博客访问: 97583
  • 博文数量: 64
  • 博客积分: 2570
  • 博客等级: 少校
  • 技术积分: 605
  • 用 户 组: 普通用户
  • 注册时间: 2009-11-24 11:00
文章分类

全部博文(64)

文章存档

2011年(1)

2010年(25)

2009年(38)

我的朋友

分类: LINUX

2009-12-04 10:31:22

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) |
给主人留下些什么吧!~~