When using vim syntax highlighting, a common complaint is that the default color scheme is a little too bold.In this article I'll try to demonstrate how you can change the colors in vim to be a little more pleasing, or at least be more in your control. All Things Secured Recommended for you 16.04 vim syntax-highlighting :syntax off If you want to automatically do this for vimdiff, then add this to the end of your ~/.vimrc : How to change vi/vim color setting. Next, you need to create a .vim/colors directory with the following command: mkdir .vim .vim/colors . Sure. Reading following tutorials will be beneficial. To have the color scheme by default every time you open vim, add :color desert into your ~/.vimrc. How it works and why you should get one - Duration: 6:01. Test. See figure below : So I open vim, then enter :color desert and enter. I prefer vim because of its featured over nano etc. Instead of displaying in just black and white text and background combo, Vim can display in other colors as well. To change the color scheme, follow any of the following methods; Command mode (temporary) The “slate” colorscheme should now be your default color scheme. Next, you can upload your own colorscheme into the colors folder you created. " color scheme of the moment: syntax on colorscheme slate 3) Third, save your changes, then restart vim/gvim. Vim color schemes. The terminal looks like: Tutorial on how to set the VIM color scheme. It comes with a number of color schemes by default. vim colors FAQ: Can you provide details on how to control/configure colors in the vim editor (i.e., vim color settings)?. In this tutorial we will look how to change color schemes. Vim have color scheme and highlighting features where different syntax for programming languages can be printed in a pretty and understandable form. Sometimes the code syntax highlighting will cause the foreground text to be the same color as the vimdiff background color, making the text "invisible". This can be done by changing the color scheme. I have changed my background color of xterm/konsole to black (better for eye since i got to face monitor for long hour). --Fritzophrenic 17:34, June 24, 2015 (UTC) Edit _vimrc and add a line like colors as the last line. Done, when you start Vim editor next time, by default, syntax highlight is enabled and the “distinguished” color scheme will be used. How to change color scheme in Vim. For example: colors … (Michael, OP) This was good. To change the color … So can anyone help me how to solve the issue? 3. 3.1 Open a file with Vim editor, the new “distinguished” schema will be applied. In the case of Vim, there are tons of color schemes out there. But vim is not showing the proper syntax colors and also the mode in which you are like insert mode. Putting anything in Program Files will risk all your changes being lost any time you install a new version of Vim, and additionally it will affect all uses instead of just your login. In my vi file, there is a color setting to put all comment # with deep blue color. If you want a different scheme to be your default — say the “desert” scheme — just change that last line to this: colorscheme desert What is a VPN? Finally, just follow the steps from earlier to set it as your default colorscheme. This make it very difficult to see if the blackground color is black color. If you’re not satisfied, you can add more through the Vim plugin system. Vim comes with a handful of awesome themes by default.