Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions vim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,28 @@ NeoVim + Tmux with true colors on iTerm2.
## Installation
### Using a plugin manager (recommended)

vim-plug:
#### vim-plug

```
```vim
Plug 'sonph/onehalf', { 'rtp': 'vim' }
```

The 'rtp' option is necessary as the vim theme resides in a subdirectory of the git repo.

#### lazy.nvim

```lua
{
"sonph/onehalf",

config = function(plugin)
vim.opt.rtp:append(plugin.dir .. "/vim")
end,
}
```

The 'rtp' option is necessary as the vim theme resides in a subdirectory of the git repo.

### Manual Installation
Download the files in [vim/](./) and put them in their respective folders
(`./vim/colors/` and `./vim/autoload/airline/themes/`)
Expand All @@ -26,7 +40,7 @@ syntax highlighting on, and 256 colors set. Vim version >= 7.4 recommended.

For example:

```
```vim
syntax on
set t_Co=256
set cursorline
Expand All @@ -45,7 +59,7 @@ bit).

In vim/neovim, use `set termguicolors` option:

```
```vim
if exists('+termguicolors')
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
Expand Down