Recently started to abandon Ubuntu toss CentOS 5.3 (note: no intention to provoke OS dispute), whenever you change an OS, the first configuration is VIM.
After previous compilation experience in MacOSX, direct trilogy
./configue && sudo make && sudo make install
Solved . However, after CentOS, it was found that Chinese is not supported anyway.
After reading through the document and searching Google, I found that the problem appeared in the compilation. Vim support for Chinese requires 2 basic features: multi_byte and iconv.
Entering in vim :version finds that these 2 features are – multi_byte and – iconv. It seems that the parameters are not configured correctly when compiling.
Therefore re-execute the following code
./configure –prefix=/usr –with-features=hugesudo makesudo make install
The problem is solved.
Additional vim configuration file from the first line (I am a unified unicode), plus
set enc=utf-8set tenc=utf-8set fenc=utf-8set fencs= Utf-8, usc-bom
In fact, the whole problem is very simple. But I found that the data in the search engine was not found through intuitive keywords. So here's the next record, I hope to help my friends in the future
Computer Store News: first Linux systems for flat panel launch For those who have tired of the N
self-entertainment, I decided to start a Linux server, then execute the ld & ldquo;rm –rf /&rd
6. Sfdisk & ndash; backup partition table If you install multiple systems, it can easily lead to
JFS was developed by IBM and originally appeared on the AIX operating system, which provides a log-b
Linux System Application Installation Guide
How to re-hang the mongo replica set slave server for a long time to re-attach to the set
What is Linux? What are the characteristics? Linux Literacy
How low the configuration can run Linux
PHP install imagick extension tutorial
Redhat-5.4 U disk installation grub configuration diagram tutorial
Update the impact of Windows 8.1 Preview
Windows 7 optimization settings make computer security even more
How to do Win8 Bluetooth mouse drop
Windwos7 system restarts after the printer offline solution
Let the tired C drive regain the glory of the past
Microsoft is cautious: Don't let Windows 7's hot sale block the vision of change
How does WinXP modify the drive letter? How to modify the hard drive letter
How to "easy to use" the buttons of the Win8.1/RT 8.1 system?
[Download] Win10 Technology Preview Build 9926 download address (including Chinese)