Set vi editor syntax coloring and highlighting in Ubuntu to solve the vi direction key problem

Source: Internet
Author: User
There are multiple ways to solve the problem of vi direction keys on the Internet: find one of the following methods and highlight them. In UbuntuLinux, it seems that the programming language is not highlighted by default, but you can set this function by yourself: sudoapt-getinstallvim-fullcp/usr /...

There are multiple ways to solve the problem of vi direction keys on the Internet: find one of the following methods and highlight them.
In Ubuntu Linux, it seems that the programming language is not highlighted by default, but you can set this function by yourself:
Sudo apt-get install vim-full
Cp/usr/share/vim/vimcurrent/vimrc_example.vim ~ /. Vimrc

In addition, its ?? System ???]? Vi, only? Vim-tiny, in your system? On, vi? H? H is vim's one ??? E name.
What does vi have? V ?? Flash x ,?? Vi refers to the original ?? What on nix ?? Vi ,? V? Vi? Including vim and so on? Multi-vi clone. Like unxi and linux 1? ? Br/> What do you usually do? Vi refers to vim. Because? Why? Old fiber? Mechanical? On inux? It is vim, rather than authentic vi.

After taking the above picture in ubuntu7.10, the gvim key position is incorrect. solution:
Under/usr/share/vim/, find gvimrc and remove the following comments:
If has ('gui _ gtk2 ')
Set guifont = Sans
Else
Set guifont =-misc-fixed-medium-r-normal -- 14-130-75-75-c-70-iso8859-1
Endif

Author "kingbase"
 

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.