Vim sets the font and encoding format

Source: Internet
Author: User
Vim sets the font and encoding formats. it usually works in a Linux environment and only windows is available when it returns home. But I am a little used to vim, so I plan to use gvim to write code on windows. There are some unpleasant places in the middle, such as garbled characters, such as ugly fonts. Therefore, you need to modify the gvim configuration file... Vim to set the font and encoding format. it usually works in a Linux environment and is only available for windows at home. But I am a little used to vim, so I plan to use gvim to write code on windows. There are some unpleasant places in the middle, such as garbled characters, such as ugly fonts. Therefore, you need to modify the gvim configuration file. Of course, you can modify the font in the gvim menu, but that is only valid for the current window. Therefore, open c: \ progrom files \ vim \ _ vimrc and add the following content to basically meet the requirements: 1 set fileencodings = gb23122set termencoding = gb23123set guifont = courier_new: more functions of h12, explore for yourself!
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.