Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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 🌈
- Host: GitHub
- URL: https://github.com/hardhackerlabs/theme-vim
- Owner: hardhackerlabs
- License: apache-2.0
- Created: 2023-04-20T08:40:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-04-21T10:45:51.000Z (5 months ago)
- Last Synced: 2024-07-03T14:57:54.895Z (3 months ago)
- Language: Vim Script
- Homepage:
- Size: 11.5 MB
- Stars: 23
- Watchers: 3
- Forks: 3
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HardHacker Theme for VIMSupported 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
```