echo ""; echo ""; echo ""; echo ""; if(!is_admin){echo "";} » Ubuntu中安装VIM编辑器 仲子说

2010-03-21

Ubuntu中安装VIM编辑器

Posted in FreeBSD/Unix服务器 at 18:15 Author:仲远

标签:

Ubuntu?????????????nano????????????vim?????????????Ubuntu???vim?????????????????

sudo apt-get install vim

?????????vim???????????????

Setting up vim (2:7.2.245-2ubuntu2) …
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vim (vim) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vimdiff (vimdiff) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rvim (rvim) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/rview (rview) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/vi (vi) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/view (view) in auto mode.
update-alternatives: using /usr/bin/vim.basic to provide /usr/bin/ex (ex) in auto mode.

????vim????????????Ubuntu?????????????vim???????

sudo update-alternatives –config editor

??????????

There are 4 alternatives which provide `editor’.

  Selection    Alternative
———————————————–
          1    /usr/bin/vim.tiny
          2    /bin/ed
*+        3    /bin/nano
          4    /usr/bin/vim.basic

Press enter to keep the default[*], or type selection number:

??/usr/bin/vim.basic????4??????

????vim????????????????vim????????????????.vimrc??????

本文可以自由转载,转载时请保留全文并注明出处:
转载自仲子说 [ http://www.wangzhongyuan.com/ ]
原文链接:

Leave a Comment

*
To prove you're a person (not a spam script), type the security text shown in the picture. Click here to regenerate some new text.
Click to hear an audio file of the anti-spam word