Supported Vim, MacVim and NeoVim.
Since Vim only supports 256 colors, there will be some color differences with Gui Vim, especially in the background color. For best results, it is recommended to use MacVim, NeoVim or other Gui Vim.
Palette | XtermNum | Hex |
---|---|---|
Background | 235 | #262626 |
Foreground | 255 | #eeeeee |
Selection | 238 | #444444 |
Comment | 243 | #767676 |
Red | 205 | #ff5faf |
Green | 157 | #afffaf |
Yellow | 227 | #ffff5f |
Blue | 153 | #afd7ff |
Purple | 219 | #ffafff |
Cyan | 123 | #87ffff |
git clone https://github.com/hardhackerlabs/theme-vim.git
cp theme-vim/colors/hardhacker.vim ~/.vim/colors/
Plugin 'hardhackerlabs/theme-vim', { 'name': 'hardhacker' }
Plug 'hardhackerlabs/theme-vim', { 'as': 'hardhacker' }
If you're using neovim, you can use lazy.nvim too
{
"hardhackerlabs/theme-vim",
name = "hardhacker",
lazy = false,
priority = 1000,
config = function()
vim.g.hardhacker_hide_tilde = 1
vim.g.hardhacker_keyword_italic = 1
-- custom highlights
vim.g.hardhacker_custom_highlights = {}
vim.cmd("colorscheme hardhacker")
end,
},
use {'hardhackerlabs/theme-vim', as = 'hardhacker'}
Add the following configuration to the ~/.vimrc
or ~/.config/nvim/init.vim
file, then restart Vim or Neovim.
syntax enable
syntax on
set t_Co=256
colorscheme hardhacker