Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/hardhackerlabs/theme-vim

🧑🏾‍🚀 HardHacker Theme for Vim/Neovim 🌈
https://github.com/hardhackerlabs/theme-vim

Last synced: about 2 months ago
JSON representation

🧑🏾‍🚀 HardHacker Theme for Vim/Neovim 🌈

Awesome Lists containing this project

README

        


HardHacker


HardHacker Theme for VIM

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.

![](./media/preview.jpeg)

## 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

```bash
git clone https://github.com/hardhackerlabs/theme-vim.git
cp theme-vim/colors/hardhacker.vim ~/.vim/colors/
```

### Using Vundle

```vim
Plugin 'hardhackerlabs/theme-vim', { 'name': 'hardhacker' }
```

### Using Plug

```vim
Plug 'hardhackerlabs/theme-vim', { 'as': 'hardhacker' }
```

### Using Lazy.nvim (for neovim user)

If you're using neovim, you can use [lazy.nvim](https://github.com/folke/lazy.nvim) too

```lua
{
"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

```lua
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.

```vim
syntax enable
syntax on
set t_Co=256
colorscheme hardhacker
```