CentOS 5.4安裝高亮vim編輯工具

來源:互聯網
上載者:User

CentOS 5.4安裝高亮vim編輯工具 [root@localhost ~]# yum install vim-* Loaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * addons: mirrors.ta139.com * base: mirrors.ta139.com * extras: mirrors.ta139.com * updates: mirrors.ta139.comaddons    | 1.9 kB     00:00base      | 1.1 kB     00:00extras    | 2.1 kB     00:00updates   | 1.9 kB     00:00Setting up Install ProcessResolving Dependencies--> Running transaction check---> Package vim-X11.i386 2:7.0.109-7.2.el5 set to be updated---> Package vim-common.i386 2:7.0.109-7.2.el5 set to be updated---> Package vim-enhanced.i386 2:7.0.109-7.2.el5 set to be updated---> Package vim-minimal.i386 2:7.0.109-7.2.el5 set to be updated--> Finished Dependency ResolutionDependencies Resolved================================================================================ Package         Arch          Version         Repository           Size================================================================================Installing: vim-X11        i386       2:7.0.109-7.2.el5             base        1.4 M vim-common     i386       2:7.0.109-7.2.el5             base        6.4 M vim-enhanced   i386       2:7.0.109-7.2.el5             base        1.2 MUpdating: vim-minimal   i386        2:7.0.109-7.2.el5             base        310 k Transaction Summary===============================================================================Install      3 Package(s)Update       1 Package(s)Remove       0 Package(s)Total download size: 9.4 MIs this ok [y/N]: yDownloading Packages:(1/4): vim-minimal-7.0.109-7.2.el5.i386.rpm         | 310 kB     00:00(2/4): vim-enhanced-7.0.109-7.2.el5.i386.rpm        | 1.2 MB     00:06(3/4): vim-X11-7.0.109-7.2.el5.i386.rpm             | 1.4 MB     00:09(4/4): vim-common-7.0.109-7.2.el5.i386.rpm          | 6.4 MB     00:56-------------------------------------------------------------------------------Total            130 kB/s | 9.4 MB     01:13Running rpm_check_debugRunning Transaction TestFinished Transaction TestTransaction Test SucceededRunning Transaction  Installing     : vim-common                       1/5  Installing     : vim-X11                          2/5  Installing     : vim-enhanced                     3/5  Updating       : vim-minimal                      4/5  Cleanup        : vim-minimal                      5/5Installed:  vim-X11.i386 2:7.0.109-7.2.el5     vim-common.i386 2:7.0.109-7.2.el5     vim-enhanced.i386 2:7.0.109-7.2.el5Updated:  vim-minimal.i386 2:7.0.109-7.2.el5Complete![root@localhost ~]# which vi/bin/vi[root@localhost ~]# which vim/usr/bin/vim[root@localhost ~]# rm /bin/virm: remove regular file `/bin/vi'? y[root@localhost ~]# ln -s /usr/bin/vim /bin/vi[root@localhost ~]# which vi/bin/vi[root@localhost ~]# ls -l /bin/vilrwxrwxrwx 1 root root 12 Jan 18 01:22 /bin/vi -> /usr/bin/vim 如果需要更高深地需求,請直接修改/etc/vimrc 設定檔即可。 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.