Fixing vim editor for dark backgrounds so comments are not dark blue
Here is a simple command that can fix your vim editor for dark backgrounds so that your comments are not showing up in dark blue (unreadable).
The temporary fix is to run the following command in the vim editor:
:set background=dark
:set background=light
The permanent fix for this is to add the command inside $HOME/.vimrc file
set background=dark
Please note that when you’re adding the property into the .vimrc file, you do not need to prefix it with “:”