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
淡淡烟草味2017-05-16 16:41:44
In China, you can choose Alibaba Cloud or 163, both of which are pretty good.
Some foreign packages are indeed slower.
If you want to install gvim, you cansudo 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.
PHP中文网2017-05-16 16:41:44
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.
某草草2017-05-16 16:41:44
For the Ubuntu distribution, vim-common is installed by default. What you need to do is:
$sudo apt-get remove vim-common
$sudo apt-get install vim
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.