• Skip to main content

Uly.me

cloud engineer

  • Home
  • About
  • Archives

Vim Colors

October 25, 2022

I had trouble getting my vi editor to display all black background color. This includes the background color after the end of the file. I just wanted an all black background for better visibility. I did a little bit of googling and found this nice little gem. I happen to like the dessert theme and went with that instead of the recommended mustang theme which I don’t have installed. Hope you’ll find this helpful.

set t_Co=256
set background=dark
colorscheme dessert
highlight Normal ctermbg=NONE
highlight nonText ctermbg=NONE

set t_Co=256 set background=dark colorscheme dessert highlight Normal ctermbg=NONE highlight nonText ctermbg=NONE

Filed Under: Linux Tagged With: background, black, dark, theme, vim

Search This Website

Subscribe Via Email

  • Home
  • About
  • Archives

Copyright © 2023