audibleblink / hackthebox.vim

HackTheBox Vim Colorscheme
38 stars 8 forks source link

Blue background #1

Closed pwndumb closed 3 years ago

pwndumb commented 3 years ago

First, congratulations for nice work. I don't know if this is normal behavior put when I set the colorsheme to hackthebox, my background is set to blue.

OS: Mac OS Big Sur Terminal: Iterm2

Screen Shot 2021-04-11 at 3 27 19 PM Screen Shot 2021-04-11 at 3 27 48 PM
audibleblink commented 3 years ago

What I think is happening here is that your Vim is using the 3rd set of fallback colors. (16 Colors).

Could be a couple things:

  1. The terminal emulator you're using should support TrueColor for this theme to work in the best configuration.
  2. Vim must have termguicolors enabled. more info

If you get this working, you may eventually find that stuff breaks again if you fire up Vim inside of Tmux. Here's a good troubleshooting guide and compatibility list - https://gist.github.com/XVilka/8346728

audibleblink commented 3 years ago

This might be a quicker answer for you. Try this in your .vimrc

  " Colorscheme
    syntax on
    if has('termguicolors')
      set termguicolors
      set t_ut=
    endif
    colorscheme hackthebox
pwndumb commented 3 years ago

This might be a quicker answer for you. Try this in your .vimrc

  " Colorscheme
    syntax on
    if has('termguicolors')
      set termguicolors
      set t_ut=
    endif
    colorscheme hackthebox

Thanks. Problem solved. This color scheme is very beautiful !!!

image