You should not put customized color files in the system shared directory (/usr/share/vim/vim74/colors/). If you insist on putting them in this directory, I estimate that you need to log out and log in again before vim can Ability to read newly added color profiles.
Recommendation:
Looking at your vimrc, you are already using Vundle to manage the plug-in, so just use Vundle to download the color configuration file for you.
Plugin 'jonathanfilip/vim-lucius'
Then execute:
:PluginInstall
In this way, after restarting vim, the new configuration file will take effect without logging out again.
I have encountered the same problem. Just put colorscheme in the last line of .vimrc. I don’t know the specific reason. I guess it may be related to the order in which color files are loaded. You can also try this.
Your color configuration may only display properly in the gui.
You can try it on your vimrc文件里加入(或者打开你的第61行注释): set t_Co=256
It may not work, just give it a try. I paid attention to your terminal. I don’t know if your terminal supports 256 colors. Please try typing in your terminal first: tput colors Look at the return value
You should not put customized color files in the system shared directory (/usr/share/vim/vim74/colors/). If you insist on putting them in this directory, I estimate that you need to log out and log in again before vim can Ability to read newly added color profiles.
Recommendation:
Looking at your vimrc, you are already using Vundle to manage the plug-in, so just use Vundle to download the color configuration file for you.
Then execute:
In this way, after restarting vim, the new configuration file will take effect without logging out again.
I have encountered the same problem. Just put colorscheme in the last line of .vimrc. I don’t know the specific reason. I guess it may be related to the order in which color files are loaded.
You can also try this.
ubuntu system
List items
sudo apt-get uninstall vim
sudo apt-get install vim-gtk
To report an error in step 2, just enter something like
Not every color scheme is suitable for use in terminal. This seems to only have an effect in the GUI.
Your color configuration may only display properly in the gui.
You can try it on your
vimrc
文件里加入(或者打开你的第61行注释):set t_Co=256
It may not work, just give it a try. I paid attention to your terminal. I don’t know if your terminal supports 256 colors. Please try typing in your terminal first:
tput colors
Look at the return value