Configure some Vim options under Ubuntu, and then vim xx_file to display sorry xxxx
Then Google,
run vi-version
if your result is 'small version without GUI'
you should install Vim by `apt-get install vim`
Then follow the instructions, it’s still being installed after a long time...
I installed the GUI version through apt-get install vim
. Do I need to delete the original Vim after success?
Finally, why did it take me so long and I still haven’t finished downloading? => How to solve it
(I specifically uninstalled python_pip, and the speed of reinstalling pip is still acceptable)
In fact, this situation often occurs, which is reflected in the fact that when installing various software I need, it is very slow and seriously affects my mood
I selected the best server through the software center, but there is still no better software source
Questions about the source
In China, you can choose Alibaba Cloud or 163, both of which are pretty good.
Some foreign packages are indeed slower.
About installing vim
If you want to install gvim, you can
sudo apt-get install vim-gtk
Then you can configure gvim by editing
.vimrc
来配置vim(命令行中使用),.gvimrc
. If there is no .gvimrc file, gvim will automatically use the .vimrc configuration file.You may need to create these two files yourself.
1. Vim has a command line version and a gui version. Each distribution has different pre-installations. Some distributions do not have vim at all
2. apt-get install vim installs the command line version, there is no need to delete the previous one
3. Slowness is a source problem. Search "ubuntu Chinese source" on Baidu to find a modification tutorial.
For the Ubuntu distribution, vim-common is installed by default. What you need to do is:
If it’s slow, you can change the source. The content of the change will be slightly different depending on the version, so it depends on your version.