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.
256-COLORS Palette
| 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 |
Install
Using Git
git clone https://github.com/hardhackerlabs/theme-vim.git
cp theme-vim/colors/hardhacker.vim ~/.vim/colors/Using Vundle
Plugin 'hardhackerlabs/theme-vim', { 'name': 'hardhacker' }
Using Plug
Plug 'hardhackerlabs/theme-vim', { 'as': 'hardhacker' }
Using Lazy.nvim (for neovim user)
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,
},Using Packer.nvim
use {'hardhackerlabs/theme-vim', as = 'hardhacker'}
Setup
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

